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 Constructionmy = 42; say « b c ».raku; # OUTPUT: «(IntStr.new(42, "42"), "b", "c")»my = 42; say << $a b c >>.raku; # OUTPUT: «(IntStr.new(42, "42"), "b", "c")»# Quote Protectionmy = 42; say « "$a b" c ».raku; # OUTPUT: «("42 b", "c")»my = 42; say << "$a b" c >>.raku; # OUTPUT: «("42 b", "c")»