in reply to heredoc interpolation

And, of course, plain, old single-quoted strings can contain embedded newlines, they just won't interpolate  \n newline escape sequences.
use warnings; use strict; my $string = 'this string has five newlines '; print $string;
Output:
>perl t_sq_newlines_1.pl this string has five newlines