in reply to Re^2: line ending problem Text::CSV alternative Text::ParseWords?
in thread line ending problem Text::CSV alternative Text::ParseWords?
From the man page:
2023 "EIQ - QUO character not allowed" Sequences like ""foo "bar" baz",quux" and "2023,",2008-04-05, +"Foo, Bar",\n" will cause this error.
Can I see the actual data?
update: FWIW those errors might go away if you parse with
Text::CSV_XS->new ({ binary => 1, allow_loose_quotes => 1 });or
Text::CSV_XS->new ({ binary => 1, escape_char => undef });
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: line ending problem Text::CSV alternative Text::ParseWords?
by GertMT (Hermit) on Oct 06, 2009 at 12:49 UTC | |
by Tux (Canon) on Oct 06, 2009 at 12:54 UTC |