Skip Menu |

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

Report information
The Basics
Id: 54802
Status: rejected
Priority: 0/
Queue: Test-Harness-Straps

People
Owner: Nobody in particular
Requestors: gregaloe [...] comcast.net
Cc:
AdminCc:

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



Subject: PERL5LIB contains too many paths
I believe this is different than bug 44601 even though they both have to do with code that generates PERL5LIB. By design, when PERL5LIB is defined, it gets *prepended* to the standard lib. However, Test::Harness::Straps duplicates the current standard lib into PERL5LIB. This is a problem when a test calls a system command that calls a *different* version of Perl. That system command process ends up with two versions of Perl standard libs in @INC, which is not allowed and errors. But I also admit that I don't fully understand the purpose of Test::Harness::Straps::_INC2PERL5LIB.
Subject: Re: [rt.cpan.org #54802] PERL5LIB contains too many paths
Date: Fri, 19 Feb 2010 17:52:57 -0800
To: bug-Test-Harness-Straps [...] rt.cpan.org
From: Michael G Schwern <schwern [...] pobox.com>
microg via RT wrote: Show quoted text
> I believe this is different than bug 44601 even though they both have to > do with code that generates PERL5LIB. > > By design, when PERL5LIB is defined, it gets *prepended* to the standard > lib. However, Test::Harness::Straps duplicates the current standard lib > into PERL5LIB. This is a problem when a test calls a system command > that calls a *different* version of Perl. That system command process > ends up with two versions of Perl standard libs in @INC, which is not > allowed and errors. > > But I also admit that I don't fully understand the purpose of > Test::Harness::Straps::_INC2PERL5LIB.
Hi, Test::Harness::Straps is deprecated. It exists only for compatibility. Instead you'll want to use TAP::Harness and TAP::Parser which are all part of Test::Harness version 3. -- 91. I am not authorized to initiate Jihad. -- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army http://skippyslist.com/list/