▲ | IshKebab 7 hours ago | |
That's probably the worst multiline string option if you ask me. Looks like they copied Bash. | ||
▲ | librasteve 6 hours ago | parent [-] | |
Yes, the evolution of Raku multilines is from shell (heredoc) > perl > raku, and a LOT of experience went into the design. Not sure I understand why that's a bad thing? Some benefits of the Raku solution are:
This usually means that any text can be cut and pasted as is into the multiline and you can adjust the adverbs to match the original quoting pattern.Even with perverse patterns (which you cannot guarantee against in variable text), there is a way to gracefully handle:
https://docs.raku.org/language/quoting |