There's more than one way to do things | |
PerlMonks |
Re: Re: Common Regex Gotchasby Anonymous Monk |
on May 08, 2001 at 23:26 UTC ( [id://78934]=note: print w/replies, xml ) | Need Help?? |
If I am not mistaken the Benchmark module is plagued by the "$& and friends". That means it makes the regexes slow by defualt. That means that the benchmarks you take are disproportionate and useless, since the ineffectiant single instance of $& ruins any optimizations perl can make on the substitution.
In Section
Tutorials
|
|