Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Devel-Cover CPAN distribution.

Report information
The Basics
Id: 43833
Status: resolved
Priority: 0/
Queue: Devel-Cover

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

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

Subject: PERL5OPT can make all Devel::Cover tests fail
Download (untitled) / with headers
text/plain 667b
As discussed on IRC, setting PERL5OPT makes Devel::Cover tests fail; they show extra BEGIN blocks. This is what my particular PERL5OPT looks like, and the code it loads; it basically is a dynamic PERL5LIB. [kane@myriad-wifi ~...oss/cpanplus-devel]$ printenv | grep PERL PERL5OPT=-I/Users/kane/sources/svk/oss/dev-bin -Minc_all [kane@myriad-wifi ~...oss/cpanplus-devel]$ cat ../dev-bin/ ### includes all libs under this directory package inc_all; use strict; use warnings; use File::Basename qw[dirname]; require lib; my $dir = dirname( __FILE__ ); for my $lib ( map { "$_/lib" } <$dir/../*> ) { next unless -d $lib; lib->import( $lib ); } 1;
Fixed with 90ace63. Thanks for reporting this all those years ago :-)

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

Please report any issues with to