G'day sanPerl,
According to the Net::SFTP::Foreign documentation, the ls method reurns an arrayref of hashrefs not an array of hashrefs.
If you read the documentation, you'll find it not only provides the correct syntax for what you've presented here, but also a way to do without the map altogether.
-- Ken
In reply to Re: Not getting List of files from Net::SFTP::Foreign
by kcott
in thread Not getting List of files from Net::SFTP::Foreign
by sanPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |