There's more than one way to do things | |
PerlMonks |
Re^2: how to transfer a set of files in a directory from linux server(remote machine) to windows server(local machine)by sn1987a (Deacon) |
on Apr 21, 2014 at 13:33 UTC ( [id://1083019]=note: print w/replies, xml ) | Need Help?? |
On line 19 you declare my $sftp; but then on line 20 you assign to $stfp = Net::SFTP::Foreign->new. Note the transposition of f and t. As an aside, this is one the benefits of use strict; it will catch these kinds of spelling errors at compile time.
In Section
Seekers of Perl Wisdom
|
|