On Oct 31, 11:15 am, [EMAIL PROTECTED] (Tom Phoenix) wrote:
> On 10/31/07, Jay Savage <[EMAIL PROTECTED]> wrote:
>
> > Take another look at the Net::SFTP docs, particularly the note about
> > what get() does when called in a void context.
>
> I see a note about a non-void context, but I don't see one about a
> void context. The OP didn't use the get() method in a void context.
> Did you mean to write "non-void"?
>
>    http://search.cpan.org/~dbrobins/Net-SFTP-0.10/lib/Net/SFTP.pm
>
> As I interpret the docs, the OP's code should be correct. But maybe
> I'm missing something.

It's correct unless the file the OP is retrieving happens to be empty
(or contains nothing but '0').

Paul Lalli


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to