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 |
Message body not shown because it is not plain text.
Subject: | i-ttt-0.0.1.zip |
Message body not shown because it is not plain text.