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