http://cpan.uwinnipeg.ca/htdocs/Net-OpenSSH/Net/OpenSSH.html#scp_put
 
 
following is failing with an error when $folder is not defined. is that 
correct? i think it should assume $folder as null variable and continue to save 
in home folder on destination???
 
$scpresult = $ssh->scp_put($file,$folder);
 
I get this error:
 
Use of uninitialized value $arg in string eq at 
/usr/local/share/perl/5.10.1/Net/OpenSSH.pm line 771, <STDIN> line 2.

I can see when i check that $scpresult is undef.
 
 
scp_get is working fine with exact similar syntax and undefined $folder.

Reply via email to