Actually dumping the file to an array and parsing it element(line) by line is more efficient than parsing the file line by line.
foreach my $element (@logarray).
You may want to close that open logfile after reading it into the array
In reply to Re^2: trouble parsing log file...
by coreolyn
in thread trouble parsing log file...
by perl_geoff
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |