First I must thank you for using my module. Second, I must say I would have seen your problem earlier if it had been mailed to the official support channel but anyway here I am!
You are trying to retrieve an array from a function which returns a hash. You should get back the hash:
And then iterate over it:my %dir = $ftp->ls
for my $filename (keys %dir) { print $filename{perm}, "\n"; }
Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality.
In reply to Re: FTP Remote Dir listing
by princepawn
in thread FTP Remote Dir listing
by nsyed
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |