Skip Menu |

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

Report information
The Basics
Id: 61880
Status: resolved
Priority: 0/
Queue: Text-CSV_XS

People
Owner: Nobody in particular
Requestors: lespea [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.56
Fixed in: 0.75



I'm encountering a rather odd problem and I'm not sure who to file the bug report for; I guess I'll just start here. So I created an extremely basic module that uses Text::CSV_XS and just prints to an IO::Scalar object. When you run prove -l everything goes as expected and there are no warnings. However, when I build the module and run build test, then I get the following warnings: t/00_fail.t .. Use of uninitialized value $\ in defined operator at C:/Perl/site /lib/IO/Scalar.pm line 421. t/00_fail.t .. 1/2 Use of uninitialized value in concatenation (.) or string at C:/Perl/site/lib/IO/Scalar.pm line 421. Looking at the code on line 421, it appears to be dying while doing `defined($\)` which is pretty bizarre to me. I did a little testing and it appears that it's only dying when I set the eol to be "\015\012" and only when Module::Build is running. I first noticed this in 0.73 and it isn't fixed in 0.74. I didn't test on earlier versions. The test module & my -V string are attached. Thanks!
Subject: perl_version
Download perl_version
application/octet-stream 2.4k

Message body not shown because it is not plain text.

Subject: i-ttt-0.0.1.zip
Download i-ttt-0.0.1.zip
application/zip 1.6k

Message body not shown because it is not plain text.

This was indeed a bug in the combine-area of Text::CSV_XS Fixed for version 0.75 Note that your test still fails: i-ttt > Build test t/00_fail.t .. 1/2 # Failed test at t/00_fail.t line 6. # got: 'test,test # ' # expected: 'test,test' # Looks like you failed 1 test of 2. t/00_fail.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests Test Summary Report ------------------- t/00_fail.t (Wstat: 256 Tests: 2 Failed: 1) Failed test: 2 Non-zero exit status: 1 Files=1, Tests=2, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.03 cusr 0.00 csys = 0.05 CPU) Result: FAIL Failed 1/1 test programs. 1/2 subtests failed.
On Tue Oct 05 03:52:28 2010, HMBRAND wrote: Show quoted text
> This was indeed a bug in the combine-area of Text::CSV_XS > Fixed for version 0.75 > > Note that your test still fails: >
Awesome. Sorry about my test case, I switched it last minute to something "easy" compared to what originally caught this and didn't look at it very close.