Skip Menu |

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 12030
Status: resolved
Priority: 0/
Queue: Test-Harness

People
Owner: andy [...] hexten.net
Requestors: sagarshah [...] softhome.net
Cc:
AdminCc:

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



Subject: Test::Harness should propogate $PERLLIB in the same way it does $PERL5LIB should $PERL5LIB be unset
Test::Harness should propogate $PERLLIB in the same way it does $PERL5LIB should $PERL5LIB be unset. The v2.46 version of Test::Harness will causes other module's test to fail should the user installing the module be using $PERLLIB instad of $PERL5LIB and have pre-requisite modules installed in a non core perl lib directory.
From: DJERIUS [...] cpan.org
Any hope of getting this fixed? The problem is that _default_inc runs perl to get the list of default paths, but if PERLLIB is set, the paths output will include those in PERLLIB. They will then be stripped out by _filtered_INC, and the test programs will fail to find the modules. This really breaks things on systems where PERLLIB is used to access local modules. Since PERLLIB has not (as far as I know) been deprecated, this really is a critical bug. It remains in 2.64.
Fixed in 2.99, thanks.