in reply to Formatting Strings Without Interpolating Whitespace
You could use a here-doc, like this:
my $msg_body_2 = <<"EOT"; line 5 line 6 line7a\tline7b line8 EOT
or you could split the string in to segments spread over multiple lines and concatenate them together:
my $msg_body_2 = "\n\n" . "line 5\n" . "line 6\n" . "line 7a\tline7b\n" . "line 8\n" . "\n\n";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Formatting Strings Without Interpolating Whitespace
by BJ_Covert_Action (Beadle) on Jan 19, 2012 at 22:25 UTC |