in reply to Re^2: perl6 match variable
in thread perl6 match variable
Afaict the bug is omission of an automatically added `-> $/` signature. One workaround is to manually add the missing piece:
for 1 { say "foo".subst: /(foo)/, -> $/ {$/[0] ~ "o"}; }
»ö« . o O ( "the celebrity tell-all of the Perl-6 cult?" )
|
|---|