Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

RE: Re: Inconsistancy within Net::FTP?

by merlyn (Sage)
on Aug 24, 2000 at 17:39 UTC ( [id://29413]=note: print w/replies, xml ) Need Help??


in reply to Re: Inconsistancy within Net::FTP?
in thread Inconsistancy within Net::FTP?

That works as long as you don't have more than 8K of data (doh!), because a pipe can buffer up to that before blocking. More than that, you'll block on the write at your print PIPEWRITE, and there won't be anyone around to be reading it, so you'll wait forever. Bzzzzz.

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
RE: RE: Re: Inconsistancy within Net::FTP?
by rdw (Curate) on Aug 24, 2000 at 19:07 UTC
    Like I said, it won't solve all the problems :-)

    Since Net::FTP is blocking, you can't really do this without two processes.

    Rich

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://29413]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-04-24 11:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found