If you do put the whole thing in a double-quoted string, the $" separator would apply between array elements, introducting a space at the beginning of each line, other than the first. You would need to localize it to be an empty string, if you wanted to avoid additional characters.
{ local $" = q{}; print "@content\n\n"; }
As Occam said: Entia non sunt multiplicanda praeter necessitatem.
In reply to Re: Printing array in scalar context
by TomDLux
in thread Printing array in scalar context
by manishrathi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |