more useful options | |
PerlMonks |
Re^5: Perl is dyingby demerphq (Chancellor) |
on Feb 10, 2007 at 16:36 UTC ( [id://599363]=note: print w/replies, xml ) | Need Help?? |
for instance using $& somewhere in your program doesn't slow down every other regular expression like it does in Perl. In perl5.10 there is a new way to do this that doesnt come with a generalized performance penalty. In fact, Perl 5.10 expands the regex syntax greatly and offers some nice new optimisations.
--- $world=~s/war/peace/g
In Section
Meditations
|
|