in reply to removing files with perl based on age and name

Any ideas how to do this in perl

SMOP, naturally

Re: Replace key pair value from one to other file, Re^2: How to write at immediate next line of detecting a particular pattern, Re: modifying a file with regex!