in reply to
Reverse grep?
Look in
perlfaq6
, and specifically
How do I efficiently match many regular expressions at once?
. You can define them in a separate file, perhaps in a hash or an array. This file can be a module or a file that's
require
d or
do
ne.
Comment on
Re: Reverse grep?
In Section
Seekers of Perl Wisdom