dmn001 has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I don't understand how to output with Text::CSV,
http://search.cpan.org/~makamaka/Text-CSV-1.20/lib/Text/CSV.pm#print
I am trying to output a simple array e.g. @array=qw( 1 2 3 4 5 'hello world');
to a CSV file.
Please can you help by posting a sample code doing the above - thanks.
Dave
OK - I think I understand it now -> please see the working example file:
http://dmn001.pastebin.com/0aSzkcFiRegards,
Dave
Thanks ikegami and Tux for your help! :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: text::csv output help
by ikegami (Patriarch) on Nov 30, 2010 at 20:18 UTC | |
by dmn001 (Initiate) on Nov 30, 2010 at 22:13 UTC | |
by ikegami (Patriarch) on Nov 30, 2010 at 23:05 UTC | |
by dmn001 (Initiate) on Dec 01, 2010 at 00:03 UTC | |
by ikegami (Patriarch) on Dec 01, 2010 at 02:57 UTC | |
by dmn001 (Initiate) on Dec 01, 2010 at 00:45 UTC | |
by Tux (Canon) on Dec 01, 2010 at 07:39 UTC | |
|
Re: text::csv output help
by dmn001 (Initiate) on Dec 01, 2010 at 00:47 UTC |