upd Sorry, I failed to notice you actually want to get a string, not print it.
You still should format this array somehow, like add necessary spaces or somesuch.
my $text = join "\t", @{$array}; my $msg = <<"END"; stuff $text END
may help.
In reply to Re: Print array from here-doc
by akho
in thread Print array from here-doc
by sasrs99
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |