Here document: Difference between revisions
added langur language example
SqrtNegInf (talk | contribs) m (→{{header|Raku}}: Fix link and comments: Perl 6 --> Raku) |
Langurmonkey (talk | contribs) (added langur language example) |
||
Line 931:
</pre>
=={{header|langur}}==
Use a block modifier on a string literal using the q or Q form. The block modifier must be the last modifier.
<lang langur>val .s = q:block END
We put our text here.
Here we are, doc.
END</lang>
We can also use this with a regex literal. Note that this does not make the regex "free-spacing."
<lang langur>val .s = re:block END
a regex pattern here
Still here, doc.
END</lang>
=={{header|Lingo}}==
|