Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Using Net::SFTPby kcott (Archbishop) |
on Feb 21, 2018 at 22:32 UTC ( [id://1209700]=note: print w/replies, xml ) | Need Help?? |
G'day slugger415, If you look in the documentation for Net::SFTP, you'll see under $sftp->ls($remote [, $subref ])]: "... returns a list of directory entries, each of which is a reference to a hash ..." [my emphasis] So you're getting something like this:
You can use modules like Data::Dumper (builtin) or Data::Dump (CPAN) to investigate further, e.g.
— Ken
In Section
Seekers of Perl Wisdom
|
|