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

You should either call it like ReportThreshholdExceeded(\@output_array)<\c> (this will put a reference to <c>@output_array in the sub's $output_array or write it like I suggested in the GP post.

Currently the sub's $output_array only contains the first element of the caller's @output_array.