in reply to Re: print the whole line
in thread print the whole line

I believe these are notoriously inefficient and should be avoided. Allegedly using some of these causes them to be calculated for the whole program, slowing down every regex whether you need the variables or not. Sorry, I forgot the source where that info came from.

The code posted above is functional for the task (it can be refactored a small bit), he just needs to load up @data differently.