Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2005
    Posts
    220

    Unanswered: HEREDOC question

    I use a HEREDOC to create an email message body. Within the message body I want to also print out the contents of an array called @output_array. How do I do this?

  2. #2
    Join Date
    Feb 2006
    Posts
    56
    just put the array in the HEREDOC and see what happens.

  3. #3
    Join Date
    Sep 2005
    Posts
    220
    I tried that. I was able to get it to work another way.

  4. #4
    Join Date
    Feb 2006
    Posts
    56
    it should work

    @array = qw(this is a test);

    print <<HERE
    @array

    HERE

  5. #5
    Join Date
    Sep 2005
    Posts
    220
    Kevin, I was able to get this to work. Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •