# one method my $foo = "sometext\nmore\n"; print $foo; # another method $foo = <<END; sometext more END print $foo;
In reply to Re: assign a string using multiline format
by Taulmarill
in thread assign a string using multiline format
by danmcb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |