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

Then you probably have an array *reference* like $foo, in which case you need to de-reference it in the heredoc with @$foo.

Replies are listed 'Best First'.
Re^4: Print array from here-doc
by sasrs99 (Acolyte) on Apr 25, 2007 at 20:41 UTC
    I tried @$output_array with no luck. I don't really understand the referencing/dereferencing so I'm sure it's something I'm doing.
Re^4: Print array from here-doc
by sasrs99 (Acolyte) on Apr 25, 2007 at 20:31 UTC
    I tried @$output_array with no luck. I don't really understand the referencing/dereferencing so I'm sure it's something I'm doing.