Summary: How to use Perl here documents, i.e., the Perl heredoc syntax.
Perl offers a convenient way of printing multiple lines of output through an interesting feature known as a "Perl here document". A here document, or heredoc, lets you easily store multiple lines of text in a Perl variable.
A multiline Perl here document works like this: