-start-
> "Dennis Smith" <[EMAIL PROTECTED]>
>at04/12/2001 10:36 AM
>How do I compare a timestamp using a logical operator >?
>here is the problem I want to find any errors in my log from the last
hour.
>The log file has a timestamp with the local time format.
>Wed Apr 11 22:05:09 2001
>
use Time::Local;
With this you can convert it to epoch time which then becomes a simple
numeric comparison.
-Original Message-
From: Dennis Smith [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 12, 2001 11:36 AM
To: [EMAIL PROTECTED]
Subject: [Perl-unix-users] Compare timestamp using