Thanks! You are right, I don't need to change the directory. Let me experiment with your code a bit, need to understand the map function and get a better grasp of the
I guess I would do this with a for loop, so I can just shift $dir_listing at position i. And I need to search all the subdirs as well, but I think I'll find a way. Thanks again!while ($dir_listing[0] =~ /^\.+$/) { shift @{$dir_listing}; }
In reply to Re^2: New to Perl: Finding files on FTP
by Klaas
in thread New to Perl: Finding files on FTP
by Klaas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |