good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: -M file test operatorby beable (Friar) |
on Jul 29, 2004 at 06:04 UTC ( [id://378297]=note: print w/replies, xml ) | Need Help?? |
Hi Bayruds, here is a program to find out how old the log file actually is. It turns out that we are talking about 1 to 9 seconds old. Is that too old for you? If that seems like a reasonable age, I'd suggest you change your "-M" test line to something like:
Here's the program. Somebody will probably produce a one-liner to do this now.
In Section
Seekers of Perl Wisdom
|
|