Clear questions and runnable code
get the best and fastest answer
Need to create CSV using Text::CSVby oldwarrior32 (Sexton)
|on Jun 17, 2012 at 01:48 UTC||Need Help??|
oldwarrior32 has asked for the
wisdom of the Perl Monks concerning the following question:
Dear Monks, I want to create a CSV File using Text::CSV. I was able to do the thing by hand but I would like to create it using the module.
I have this:
I got the following input:
I was hoping something like this:
When i use the Text::Table module, I pass to the load function the @AoA array, and I got a nice table. But with the Text::CSV module doesn't work.
I read the Text::CSV doc and It says I need to pass an array reference to the print function. But if I do that I got this:
What I am doing wrong?
Thanks for your help!