What module would folks recommend to do some math on Date/Time strings?
There's so many to choose from in CPAN, I'm not sure where to start.

I'm interested in processing a web server log, which has a data format
like:
gw243.carlson.com - - [01/Feb/2002:17:18:54 -0500] "GET
/images/line1mmc.gif HTTP/1.0" 200 966 "-" "Mozilla/3.01 (compatible;)"
gw243.carlson.com - - [01/Feb/2002:17:18:57 -0500] "GET
/pr/l10/l10chap4.stm HTTP/1.0" 200 4954 "-" "Mozilla/3.01
(compatible;)"
gw243.carlson.com - - [01/Feb/2002:17:18:58 -0500] "GET
/images/line1mmc.gif HTTP/1.0" 200 966 "-" "Mozilla/3.01 (compatible;)"

I'm trying to output an ad-hoc report which would say something like
"gw243.carlson.com requested /images/line1.mmc.gif at 17:18:54.
Requested second file, /pr/l10/l10chap4.stm 3 seconds later, then
requested third file 1 second after that...." I'm trying to determine
from the times between requests and the presence of subsequent files
whether requests are made for a particular file in error.

Would this be most easily done with a perl module, and which one, or
just by using the built-in perl functions?

Thanks for your suggestions.

-Kevin Zembower

-----
E. Kevin Zembower
Unix Administrator
Johns Hopkins University/Center for Communications Programs
111 Market Place, Suite 310
Baltimore, MD  21202
410-659-6139

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to