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
Keep your concentration here and now where it belongs - Qui-Gon Jinn
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Populating a CSV file with Text::CSV_XS (\)
by tye (Sage) on Jan 26, 2006 at 22:27 UTC | |
Re: Populating a CSV file with Text::CSV_XS
by BMaximus (Chaplain) on Jan 26, 2006 at 22:31 UTC | |
by master_son (Acolyte) on Jan 27, 2006 at 16:41 UTC | |
Re: Populating a CSV file with Text::CSV_XS
by jZed (Prior) on Jan 26, 2006 at 22:30 UTC |
Back to
Seekers of Perl Wisdom