Skip Menu |

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

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

Owner: Nobody in particular
Requestors: djerius [...]

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

Subject: Test::Harness::Straps::_default_inc cache is broken
Download (untitled) / with headers
text/plain 530b
The cache code in Test::Harness::Straps::_default_inc is broken. The do block does not return @inc, but the number of haracters chomped from @inc: $cache{$perl} ||= [do { local $ENV{PERL5LIB}; my @inc =`$perl -le "print join qq[\\n], \@INC"`; chomp @inc; }]; It should look like this: $cache{$perl} ||= [do { local $ENV{PERL5LIB}; my @inc =`$perl -le "print join qq[\\n], \@INC"`; chomp @inc; return @inc; }];
Fixed in 2.65_02.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to