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

/dev/trash has asked for the wisdom of the Perl Monks concerning the following question:

I am working in a Windows environment but I am pretty sure this is an OS_independent question. I want to check to see if a group of files were modified on the present date. If they were modified before today I want them deleted, else keep them. I know about stat() and localtime but the best I could come up with was when the file was modified. Any suggestions would be great.