![]() |
|
XP is just a number | |
PerlMonks |
Re: Re: Re: using a hash to do substitution?by MeowChow (Vicar) |
on Jun 14, 2001 at 11:12 UTC ( #88314=note: print w/replies, xml ) | Need Help?? |
On the other hand, an alternating regex can use the /o modifier, while your version can't. Regex compilation is a costly operation, so alternation should be much faster under /o.
MeowChow s aamecha.s a..a\u$&owag.print
In Section
Seekers of Perl Wisdom
|
|