in reply to Re: New to Perl: Finding files on FTP
in thread New to Perl: Finding files on FTP
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}; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: New to Perl: Finding files on FTP
by runrig (Abbot) on Mar 14, 2012 at 20:29 UTC | |
by Klaas (Initiate) on Mar 15, 2012 at 10:58 UTC | |
Re^3: New to Perl: Finding files on FTP
by muppetjones (Novice) on Mar 14, 2012 at 21:00 UTC |
In Section
Seekers of Perl Wisdom