in reply to How to optimize a regex on a large file read line by line ?
How long are the lines in your file? and how many lines is it reading in total? Maybe reading it a line at a time is not the best approach for your data set.
In Section
Seekers of Perl Wisdom