perldoc -f -M

-M $filename will tell you the age of the file in days.

-----Original Message-----
From: Rory O'Connor
To: [EMAIL PROTECTED]
Sent: 8/30/2001 7:17 PM
Subject: checking file date/time

Can anyone help me with - or point me to a resource - about checking
file date/time with perl?  I need to write a small script that i can run
with cron and will e-mail me if a particular file is older than 2 days. 
The file in question is supposed to be refreshed daily but sometimes our
linkage breaks down without us knowing.

Thanks!

providing the finest in midget technology

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to