Course of Raku / Advanced / More about built-in types / Quoting constructs 🆕 / Exercises / A raw string
Solution: A raw string
Here is a possible solution to the task.
Code
say Q{$x and \n};🦋 You can find the source code in the file raw-string.raku.
Output
$x and \nComments
Qis the most literal quoting form: it interpolates nothing and processes no escapes.So
$xstays as text and\nstays as a backslash and ann.