http://www.perlmonks.org?node_id=756634


in reply to unlink with regex?

You can do that using File::Glob.