in reply to Issue parsing CSV into hashes?
Change your initialization to:
and it should parse.my $csv = Text::CSV_XS->new( { 'allow_loose_quotes' => 1, } );
Resetting 'sep_char' to ':' won't work, because that will make CSV split on ':' characters, and you want it to split on commas.
I suspect that for what you're doing, you're not actually getting any value from Text::CSV_XS. I think you'd do better just to use split(), but that's up to you.
stephen
|
|---|