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

localtime(time-360)<'Wed Apr 11 22:05:09 2001'

How can I make the string Wed Apr 11 22:05:09 2001 into a localtime object that I can 
use for comparisons.

Thanks

Dennis

_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to 
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users

Reply via email to