Ok I'm having a dummy moment here. Wanting to use Net::SFTP. I looked here: http://search.cpan.org/~drolsky/Net-SFTP-0.08/lib/Net/SFTP.pm but frankly don't understand how to do it.
Here's some of my code:
my $sftp = Net::SFTP->new($host, %args); print $sftp->ls('.'), $/;
It's clearly connecting successfully, but here's what I get:
HASH(0x30b7de0)HASH(0x30b8098)
I've tried assigning that to a hash, array and variable but can't seem to do anything with it. What am I missing?
In reply to Using Net::SFTP by slugger415
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |