Can anyone get me started on how to check the date/time stamp of a file
and compare it to the current day? I imagine this type of simple task is
a no-brainer for almost everyone on this list. Poking back through my
book a bit now. All pointers to more info much appreciated.
stats() will give you the last modified date (among other things). I think:
time - (stats($filename))[9] > 0
should do the trick

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to