laziness, impatience, and hubris | |
PerlMonks |
Re: debugging Net::Sftp::Foreign using ssh2by salva (Canon) |
on Dec 12, 2012 at 14:56 UTC ( [id://1008512]=note: print w/replies, xml ) | Need Help?? |
The way to check for errors on Net::SFTP::Foreign is calling the error method:
Or alternatively, use the autodie feature: In order to activate debugging set...
Also, note that libssh2/Net::SSH2 are somewhat buggy. Ensure that at least you are using the latest versions.
In Section
Seekers of Perl Wisdom
|
|