Skip Menu |

This queue is for tickets about the Scalar-List-Utils CPAN distribution.

Report information
The Basics
Id: 25430
Status: resolved
Priority: 0/
Queue: Scalar-List-Utils

People
Owner: Nobody in particular
Requestors: e-just [...] northwestern.edu
Cc: RIVY [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Failed build
Date: Wed, 14 Mar 2007 09:47:41 -0500
To: bug-Scalar-List-Utils [...] rt.cpan.org
From: "Eric Just" <e-just [...] northwestern.edu>
Hi, Thanks for building a useful package. I found a bug that prevented me from installling in windows. I think I am in the same boat as the failure in CPAN testers: FAIL 394175 5.8.8 on MSWin32 5.1 (MSWin32-x86-multi-thread) My enviroment is 5.8.7 built for MSWin32-x86-multi-thread I am using the version of perl that is installed with xampp. The specific test that is failing is t\p_tainted.t The script dies with the following message: "-T" is on the #! line, it must also be used on the command line at t\p_tainted.t line 1. Then I run perl -T t\p_tained.t on the command line. There is no failure, but no other output, which seems like it might be ok given that there are no 'tests' in that file. Thanks again. Eric
My observation on strawberry 5.8 -T removes '.' from @INC. -line 8 t/p_tainted.t: my $filename = File::Spec->catfile(".", $f); # results in $filename eq '.\t\tainted.t' do $filename; # fails So, "do '.\t\tainted.t'" fails On the other hand, "do './t/tainted.t'" would work as expected... Could it be a solution to remove the catfile call and add a "use lib '.'" instead? Regards, Christoph
#!./perl -T use File::Spec; use lib '.'; # force perl-only version to be tested $List::Util::TESTING_PERL_ONLY = $List::Util::TESTING_PERL_ONLY = 1; (my $f = __FILE__) =~ s/p_//; do $f;
Fixed in Scalar-List-Utils-1.20