in reply to Re: Print array from here-doc
in thread Print array from here-doc

If you replace
my $msg = <<END_OF_BODY;
with
local $"; my $msg = <<END_OF_BODY;
it should work as expected.

Replies are listed 'Best First'.
Re^3: Print array from here-doc
by johngg (Canon) on Apr 25, 2007 at 22:54 UTC
    Ahhh, of course! Why didn't I think of that?

    Thank you,

    JohnGG

      BINGO!!! Thank you very much.