Net::SFTP::Foreign when used with Net::SFTP::Foreign::Backend::Net::SSH2
1.0 fails with an unitialized value in method put
(fileno($sftp->{ssh_in})). To overcome the situation, the line
$sftp->{ssh_in} = $ssh2->sock; must be added at near the end of
_init_transport.
Also Net::SFTP::Foreign fails when the $self->_conn_failed method in
Net::SFTP::Foreign::Backend::Net::SSH2 is called. Should it rather read
there $sftp->_conn_lost instead of $sftp->conn_failed ???
Perl V5.10 on Linux Fedora 13 and Active State Perl V5.10 on Windows 7.
Error message raised by Net::SFTP::Foreign when using a put method :
Use of uninitialized value in ref-to-glob cast at
/usr/local/share/perl5/Net/SFTP/Foreign.pm line 1913.
Use of uninitialized value in ref-to-glob cast at
/usr/local/share/perl5/Net/SFTP/Foreign.pm line 1913.