"I need to do it with two dimensional arrays". Why? Is it a school assignement? Otherwise a Hash (of Arrays) would make a lot more sense to find duplicate lines. The error message is the key, the timestamps are collected in the array.
If you only need the last timestamp and the count, you can drop the array and store a counter and the last timestamp either as a concatenated string or a two-value array or hash
In reply to Re: Problem Parsing Log Files
by jethro
in thread Problem Parsing Log Files
by ajay.awachar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |