Sorry if this is documented somewhere, but I haven't been able to find it. When using brace delimiters with qq
, code is not interpolated:
qq.raku
#!/usr/bin/env raku
say qq{"Two plus two": { 2 + 2 }};
say qq["Two plus two": { 2 + 2 }];
$ ./qq.raku
"Two plus two": { 2 + 2 }
"Two plus two": 4
Obviously, this isn't a big deal since I can use a different set of delimiters, but I ran across it and thought I'd ask.
Update
As @raiph pointed out, I forgot to put the actual question: Is this the way it's supposed to work?