in reply to Print array from here-doc
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Print array from here-doc
by sasrs99 (Acolyte) on Apr 25, 2007 at 21:10 UTC | |
by akho (Hermit) on Apr 25, 2007 at 21:15 UTC | |
by sasrs99 (Acolyte) on Apr 25, 2007 at 21:22 UTC | |
by akho (Hermit) on Apr 25, 2007 at 21:30 UTC | |
by sasrs99 (Acolyte) on Apr 25, 2007 at 21:44 UTC | |
|