4 ms·
I also like how Raku has extended this with the Q operator, allowing one to specify what should be interpolated (scalars, escape sequences, closures, etc) also
by bdmatatu 6y ago
I also like how Raku has extended this with the Q operator, allowing one to specify what should be interpolated (scalars, escape sequences, closures, etc) also with arbitrary delimiters --
Q/I got $5 \sigh / # literal
Q:s/Hello $name/ # just scalars
Q:b/hello world\n/ # just backslash escape sequences
https://docs.raku.org/syntax/Q https://docs.raku.org/syntax/Q
- kbenson 6y agoThat may be a good candidate of something to port back when Perl 7 gets to the stage of adding new features.