"be consistent" | |
PerlMonks |
Re^2: perl6 match variableby grondilu (Friar) |
on Sep 10, 2014 at 09:56 UTC ( [id://1100109]=note: print w/replies, xml ) | Need Help?? |
The match object $/ in not visible on its own because subst evaluates the regex in a different scope. Does it? Because when I write, e.g: say "foo".subst: /(fo)o/, {$/[0].flip}I get, as I expected, "of"
In Section
Seekers of Perl Wisdom
|
|