Re: [Perl-unix-users] Compare timestamp using localtime objects

2001-04-12 Thread Grant Hopwood
-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 >

RE: [Perl-unix-users] Compare timestamp using localtime objects

2001-04-12 Thread Peter Eisengrein
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