I know this isn't a perl list, but this is a perl on freebsd question! ;)
I have a script that is sorting log files. I want to calculate the total
time between log entrys. Here is the format of the log files:
Dec 05 09:51:48.452 info info.info data
...
Dec 05 09:53:49.543 info info.info data
: Perl question... calculating difference in time..
I know this isn't a perl list, but this is a perl on freebsd question! ;)
I have a script that is sorting log files. I want to calculate the total
time between log entrys. Here is the format of the log files:
Dec 05 09:51:48.452 info
On Thu, Dec 05, 2002 at 02:00:20PM -0500, Jeff MacDonald wrote:
look into the perl module Date::Calc,
it's has ALOT of features that are quite useful for date manipulation.
The Time::ParseDate module by David Muir Sharnoff looks just the
ticket.