There's more than one way to do things | |
PerlMonks |
Re: File::Find helpby Corion (Patriarch) |
on Dec 02, 2017 at 09:48 UTC ( [id://1204708]=note: print w/replies, xml ) | Need Help?? |
In your code, you are checking whether you have a file (-f). Maybe you want to do something there if you have a directory (-d)? Note that you get the directory likely before all the files, so you might need to remember that you want to Update Laurent_R noted the difference between unlink and rmdir.
In Section
Seekers of Perl Wisdom
|
|