Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Strange behaviour when regex variable is modified during match?by rsFalse (Chaplain) |
on Jan 17, 2021 at 20:39 UTC ( [id://11127044]=note: print w/replies, xml ) | Need Help?? |
I was only playing with regex and eval inside. I tried to generate some substitution patterns, e.g. zipping or meshing chars. Sincerely, earlier today I found other "bug" (=feature) that $_ inside (?{ ... }) binds to LHS after I tried to manipulate $_ as a global. But I found in perlre that it is desired behaviour. So then I tried to play with this feature.
In Section
Seekers of Perl Wisdom
|
|