http://www.perlmonks.org?node_id=1081147


in reply to Re: More than one pattern match using grep on a file
in thread More than one pattern match using grep on a file

It's probably in addition an idea to add a /o modifier to the regexp for speed optimization (will lead to compiling the regexp just once, what is better for large @arrays or @pattern_lists).

Greetings,
Janek