|Syntactic Confectionery Delight|
Walking a directory tree with net:FTP:findby bdunbar (Initiate)
|on May 31, 2012 at 14:17 UTC||Need Help??|
bdunbar has asked for the
wisdom of the Perl Monks concerning the following question:
Learning PERL, needing a real-world example to hurl myself upon, I picked a problem I've already resolved using BASH.
What I need: Login to an FTP server. Using a list of directories, move all files in that directory tree to another directory, renaming to standard.
I've got the move and rename down. For 'a' directory.
Where I appear to be stuck is getting that sucker to walk the directory tree.
It's executing without error, I just don't see where I've gone wrong, why it's not calling wanted subroutine.Script
edited to add shell type and variable $ftpdir. Thanks, dulwar.