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.# List remote directory contents @$remotefiles=$sftp->ls($remotedir);
In reply to Re: How to print list using Net::SFTP::Foreign
by keszler
in thread How to print list using Net::SFTP::Foreign
by TCM
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |