At 10:00 AM 1/27/2006 -0500, Meisenzahl, Christopher1 wrote:
>About 5 years ago I worked my way to the O'Reilly Perl for Win32 book,
>but haven't used it since. I have a need to write a Perl app that will
>check the timestamps of several known files in known locations. If the
>date/time of any of the files is not the current date, send email to a
>known list of recipients.
if (-M $file >= 1) {
#file is 24 or more hours old
&email_somebody;
}
--
REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 >=--
"...ne cede malis"
00000100
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs