kendroid has asked for the wisdom of the Perl Monks concerning the following question:
I have to come up with a aggregate downtime from a log like this. I found Time::ParseDate (what a blessing!), so once I know which Down element cooresponds with the next Up, tallying up the downtime shouldn't be a problem. Thanks so much for your help; I'm pretty new to Perl so please be kind. :)a_time_down Down a_time_up Up a_time_down Down a_time_down Down a_time_up Up
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do I parse and evaluate a file line-by-line?
by Trimbach (Curate) on Mar 03, 2001 at 08:39 UTC | |
by merlyn (Sage) on Mar 03, 2001 at 20:47 UTC | |
by Trimbach (Curate) on Mar 03, 2001 at 20:57 UTC | |
|
Re: How do I parse and evaluate a file line-by-line?
by Tuna (Friar) on Mar 03, 2001 at 08:55 UTC |