In Quoting constructs§
See primary documentation in context for Word quoting with interpolation and quote protection: « »
This style of quoting is like qqww
, but with the added benefit of constructing allomorphs (making it functionally equivalent to qq:ww:v). The ASCII equivalent to « »
are double angle brackets << >>
.
# Allomorph Construction my $a = 42; say « $a b c ».raku; # OUTPUT: «(IntStr.new(42, "42"), "b", "c")» my $a = 42; say << $a b c >>.raku; # OUTPUT: «(IntStr.new(42, "42"), "b", "c")» # Quote Protection my $a = 42; say « "$a b" c ».raku; # OUTPUT: «("42 b", "c")» my $a = 42; say << "$a b" c >>.raku; # OUTPUT: «("42 b", "c")»