Syntactic Confectionery Delight | |
PerlMonks |
Re^3: Efficient code.by demerphq (Chancellor) |
on Jan 30, 2006 at 18:23 UTC ( [id://526513]=note: print w/replies, xml ) | Need Help?? |
Juts FYI: In Perl 5.10 alternations not containing regex metachars will not backtrack at all as they are represented by a trie node that can traverse all of the alternations in a single pass. Id say which version of perl contains this but embarrasingly I appear to have forgotten.
--- $world=~s/war/peace/g
In Section
Seekers of Perl Wisdom
|
|