http://qs1969.pair.com?node_id=525850

master_son has asked for the wisdom of the Perl Monks concerning the following question:

I am looking for a method of writing form data to a CSV file. I know of Text::CSV_XS, but I am confused on the matter of

$status = $csv->print(\*OUT, $columns)

assuming I have

 $CSV =Text::CSV_XS->new()

earlier, and an array @columns the CPAN manpage says the $columns perameter must be scalar reference to an array. How can I reference the array when both the array and the above statement are in the same subroutine?

---------------------
Keep your concentration here and now where it belongs - Qui-Gon Jinn