Problems? Is your data what you think it is? | |
PerlMonks |
Re: File::Find helpby Anonymous Monk |
on Dec 02, 2017 at 15:16 UTC ( [id://1204740]=note: print w/replies, xml ) | Need Help?? |
Your logic appears to me to be sound ... so far. After moving the files, simply loop back through the same list a second time and try to remove each directory in turn. (If the directory is not empty, the operation should fail, and you can at that point quit trying and move on to the next name.
In Section
Seekers of Perl Wisdom
|
|