good chemistry is complicated,
and a little bit messy -LW
How do I determine if a file was modified today?by /dev/trash (Curate)
|on Jun 02, 2001 at 09:48 UTC
/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.