in reply to Re: perl6 match variable
in thread perl6 match variable
tested with perl6 version 2015.11-1-ge88196a built on MoarVM version 2015.11for 1 { say "foo".subst: /(foo)/, {$/[0] ~ "o"}; } #gives # Use of Nil in string context in block at <unknown file>:1 # o
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: perl6 match variable
by raiph (Deacon) on Nov 24, 2015 at 04:18 UTC |