P is for Practical | |
PerlMonks |
Re: Re: Zen and the Art of Match Variablesby Elian (Parson) |
on Mar 25, 2003 at 18:50 UTC ( [id://245749]=note: print w/replies, xml ) | Need Help?? |
Perl 6 and parrot regexes are much more self-contained, so this sort of thing won't happen. (I'm torn as to whether to make it happen for the perl 5 compatibility code, but I'm thinking not right now) The only real reason it works like this in perl now is because regexes predate lexicals--if we were doing it over again for perl 5 it wouldn't happen the way it does now.
In Section
Meditations
|
|