On Sat, 09 Jan 2016 10:23:18 -0800, gfldex wrote:
> my $x = 42; say Q:s:b{\$x}
> 
> # OUTPUT«\42␤»
> # EXPECTED«42␤»

Worth nothing the OP's expected is not correct. The result should be string 
'$x', as the backslash would escape the sigil and prevent it from being 
interpolated. It actually works right-er when using `q` instead of `Q` quoter, 
but the backslash remains unremoved:

m: my $x = 42; say q:s:b{\$x}
rakudo-moar 4a37de: OUTPUT: «\$x␤»
m: my $x = 42; say Q:s:b{\$x}
rakudo-moar 4a37de: OUTPUT: «\42␤»

Reply via email to