|
|
| "be consistent" | |
| PerlMonks |
Re: How to print list using Net::SFTP::Foreignby keszler (Priest) |
| on Oct 03, 2013 at 02:49 UTC ( [id://1056711]=note: print w/replies, xml ) | Need Help?? |
|
Adding use strict; at the beginning of your script (and fixing everything it subsequently complains about) would likely have pointed you directly at the problem. According to Net::SFTP::Foreign, $sftp->ls($remote, %opts): Returns a reference to a list of entries. Every entry is a reference to a hash with three keys: ...Thus, your should not have the @ in front of $remotefiles.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||