Subject: | Should allow_loose_quotes fix error 2027 - EIQ - Quoted field not terminated? |
Date: | Wed, 07 Jan 2015 12:23:35 +0100 |
To: | bug-Text-CSV_XS [...] rt.cpan.org |
From: | " - bugs [...] supernover.de" <bugs [...] supernover.de> |
I'd think that allow_loose_quotes should allow for constructs which
otherwise trigger error 2027...
perl -e 'use Text::CSV_XS;my $csv = Text::CSV_XS->new ({sep_char => ";",
allow_loose_quotes => 1, escape_char => undef, binary => 1 });
$csv->parse (qq{;"Bad" ;});print "". $csv->error_diag(), "\n";'
gives
EIQ - Quoted field not terminated
Environment:
Text-CSV_XS 1.13
perl, v5.10.0 built for x86_64-linux-thread-multi
SUSE Linux Enterprise Server 11 (x86_64)
Kernel 3.0.13-0.27
regards, j.