in reply to Parse output

Further to the comments hereabove (which will solve your problem), I may add that there is no reason to put quotes around $_ in $line = "$_".

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law