Re: Getting error in Net::SFTP with get function



On 10/31/07, Jay Savage <daggerquill@xxxxxxxxx> 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.

--Tom Phoenix
Stonehenge Perl Training
.



Relevant Pages

  • Re: Getting error in Net::SFTP with get function
    ... what getdoes when called in a void context. ... I see a note about a non-void context, but I don't see one about a ... the lefthand operand. ... Or maybe *I'm* missing something? ...
    (perl.beginners)
  • Re: Getting error in Net::SFTP with get function
    ... what getdoes when called in a void context. ... I see a note about a non-void context, but I don't see one about a ... It's correct unless the file the OP is retrieving happens to be empty ... Paul Lalli ...
    (perl.beginners)