good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Convert hash to CSV using Text::CSV::Slurpby Laurent_R (Canon) |
on May 16, 2015 at 12:14 UTC ( [id://1126857]=note: print w/replies, xml ) | Need Help?? |
I wonder why I need Text::CSV::Slurp?According to its documentation, the create method of the Text::CSV::Slurp module can generate a CSV from an array of hashes. Here you have a hash of hashes, which is probably why you obtained scrambled output.
Je suis Charlie.
In Section
Seekers of Perl Wisdom
|
|