in reply to FTP Remote Dir listing

Hi nsyed!!!

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:

my %dir = $ftp->ls
And then iterate over it:
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.