On 10-11-19 02:25 PM, Al Oomens wrote:
How would you go about this in Perl? Also, it is possible that there might be a Start in one log file, and the matching End would be in the next log file. How do you account for those situations.
Since each transaction number is unique, I would use it as a key to a hash that saves the start and end times.
Don't forget that you may also have end times in the first log file you look at. They would start in the previous log (which may not be directly available).
-- Just my 0.00000002 million dollars worth, Shawn Programming is as much about organization and communication as it is about coding. The secret to great software: Fail early & often. Eliminate software piracy: use only FLOSS. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/