Do you know where your variables are? | |
PerlMonks |
Re: matching an array of alternatesby takshaka (Friar) |
on Jun 24, 2000 at 07:23 UTC ( [id://19698]=note: print w/replies, xml ) | Need Help?? |
The pipe-joined monolithic regex isn't terribly efficient.
The qr// approach described in perlfaq6 (that is, versions of perlfaq6 that ship with Perl 5.005 or later, but not the one on this site) is much faster.
In Section
Seekers of Perl Wisdom
|
|