The stupid question is the question not asked | |
PerlMonks |
Re: Hash/Array of Regular Expressions?by holygrail (Scribe) |
on Jun 23, 2001 at 20:52 UTC ( [id://90975]=note: print w/replies, xml ) | Need Help?? |
You can of course create an array of regexes and use [eval] to run each element of the array when you set $_ to the thing you want to evaluate with that regex. --HolyGrail
In Section
Seekers of Perl Wisdom
|
|