in reply to Who needs files? Net::FTP::Scalar (code)
Are you sick and tired of writing to a file with Net::FTP? Have you thought "gee, it would be nice if graham had made it possible for me to write to a scalar?"
Um, I did. $ftp->retr($filename) will return a tied filehandle. So you can read from that in the same way you would read from a file.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Who needs files? Net::FTP::Scalar (code)
by runrig (Abbot) on Dec 14, 2001 at 01:46 UTC | |
by gbarr (Monk) on Dec 14, 2001 at 01:51 UTC |
In Section
Cool Uses for Perl