I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2012-07-20 17:49:27.509687-07 by kbthailand
Error when using automated SFTP::Foreign
Good morning, I have tried to track down an error we are getting when using SFTP::Foreign to automatically deliver generated files every morning. The error is: Use of uninitialized value in length at /usr/local/lib/perl5/site_perl/5.8.8/Net/SFTP/Foreign/Backend/Unix.pm line 282 That line appears to be: if (my $bytes = sysread($pty, $buffer, 4096, length $buffer)) { so I am assuming that $buffer is uninitialized. Any help in defining whether this is something to worry about or not would be most appreciated. Sometimes the files get delivered, and at other times they do not. Whether that is related to this error or not is hard to tell at this point. We deliver to a variety of other servers, and the issue of non-delivery may be compatibility issues. Thank you, KB
Direct Responses: 13751 | 13752 | Write a response
Posted on 2012-07-20 20:02:03.725332-07 by kbthailand in response to 13750
Re: Error when using automated SFTP::Foreign
Sorry, after further reading, I see the same issue in rejected bugs, where the problem has been fixed in a new release. I will try to find the new release and install it. I apologize for not reading everything before posting. :) KB
Direct Responses: Write a response
Posted on 2012-07-22 23:54:47.839158-07 by salva in response to 13750
Re: Error when using automated SFTP::Foreign
this bug has already been solved, but in any case it was harmless. The failures you are experiencing can not be caused by it.

In order to know what is going wrong, check the value of $sftp->error after every operation performed.

Finally, do not use this forum to get help for Net::SFTP::Foreign, go to PerlMonks instead!

Direct Responses: Write a response