XP is just a number | |
PerlMonks |
Re: Re: Optimization for readability and speed (code)by MeowChow (Vicar) |
on May 01, 2001 at 10:36 UTC ( [id://76892]=note: print w/replies, xml ) | Need Help?? |
Perl automatically does the second optimization for you - it recompiles a regex only if it contains interpolated variables.
MeowChow s aamecha.s a..a\u$&owag.print
In Section
Seekers of Perl Wisdom
|
|