http://qs321.pair.com?node_id=447672

amaguk has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks, I've a quite large file, and I want to apply a set of regex on each line of this file. I think build an array of regex, and for each line of my file, apply the array of regex (with this construction, it's easy to add a new rule). But maybe is there a perlish way to do ? What do you think about ?