Just another Perl shrine | |
PerlMonks |
Re^4: Style question: regex versus string builtin functionby ikegami (Patriarch) |
on Oct 02, 2007 at 14:15 UTC ( [id://642113]=note: print w/replies, xml ) | Need Help?? |
You seem to have missed the point. The problem with $`, $&, $' is not that it slows down a regex, it's that it slows down *all* regexs that have no captures, say like the one in matchcontext. Your Benchmark is useless.
In Section
Seekers of Perl Wisdom
|
|