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: 77818
Status: resolved
Priority: 0/
Queue: Devel-Cover

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

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

Subject: tests fail due to spaces in @INC (Devel::Cover::Inc issue)
Download (untitled) / with headers
text/plain 921b
Hi, I'm trying to install Devel-Cover 0.88 on my Windows box. Perl is installed under c:\Program Filex (x86)\Perl (alas, controlled environment) and the spaces in the path are causing problems: - the spaces are also present in @INC => Devel::Cover::Inc is generated with something like our @Inc = qw(c:\Program Filex (x86)\Perl\...) => I'm getting this: Ignoring packages in: . C:/Program Files (x86)/Perl/lib which is obviously non-sense => the tests fail because in the testing run, there are all these standard modules that get tested (and the "got" report is much longer than the "expected" one) Proposed patch: Left file: Devel-Cover\0.88\src\Makefile#1.PL Right file: Devel-Cover\0.88\src\Makefile.PL 29a30 Show quoted text
> my $inc = join ",\n ", map { s/'/\\'/g; qq('$_'); } @inc;
51c52,54 < our \@Inc = qw( @inc ); --- Show quoted text
> our \@Inc = ( > $inc); >
Download (untitled) / with headers
text/plain 219b
Thanks very much for this report. I believe that this has been fixed with the changes to retrieve the current @INC at run time. But if you find that there are still problems, please reopen the ticket. Thanks again,

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

Please report any issues with to