go ahead... be a heretic | |
PerlMonks |
Re^2: matching elements in a list in a logical OR fashionby meetraz (Hermit) |
on Jun 15, 2004 at 04:03 UTC ( [id://366763]=note: print w/replies, xml ) | Need Help?? |
This might be even faster, depending on what's in @array... Regex::Presuf works wonders, and /o usually helps too.
In Section
Seekers of Perl Wisdom
|
|