in reply to
Parsing Large Text Files For Performance
You might look at the
"wide finder"
benchmark from a few years ago for ideas of how to do this quickly.
Comment on
Re: Parsing Large Text Files For Performance
In Section
Seekers of Perl Wisdom