Skip Menu |

This queue is for tickets about the Text-CSV-Easy CPAN distribution.

Report information
The Basics
Id: 114297
Status: resolved
Priority: 0/
Queue: Text-CSV-Easy

People
Owner: WETERS [...] cpan.org
Requestors: HMBRAND [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.53
Fixed in: 0.54



Subject: Trailing field with just a '0' will cause death
$ cat test.csv 1,2,3 2,3,4 8,9,0 3,4,5 $ perl -MText::CSV::Easy_PP=csv_parse -wE'say @{csv_parse ($_)} for <>' test.csv invalid line: 8,9,0 at -e line 1. Which is line 116 in Easy_PP.pm
Thank you for reporting this. This is fixed in version 0.54. On Tue May 10 05:59:10 2016, HMBRAND wrote: Show quoted text
> $ cat test.csv > 1,2,3 > 2,3,4 > 8,9,0 > 3,4,5 > > $ perl -MText::CSV::Easy_PP=csv_parse -wE'say @{csv_parse ($_)} for > <>' test.csv > > > invalid line: 8,9,0 > at -e line 1. > > > Which is line 116 in Easy_PP.pm
Fixed in 0.54.