in reply to File::Find question

Your first instinct should be to read the manual, so go ahead and do that now.

Your second instinct should be to look for tutorials on using the module, as in Tutorials.

Then you should try writing some code.

The best way to delete files is to just delete them. I'll bet in the time it took you to write up this post you could've figured out how to use File::Find to do what you want.