Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 56768
Status: resolved
Worked: 10 min
Priority: 0/
Queue: CPANPLUS

People
Owner: BINGOS [...] cpan.org
Requestors: BARBIE [...] cpan.org
Cc:
AdminCc:

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



Subject: Fix pattern for RELEVANT_TEST_RESULT in Internal/Constants/Report.pm
Patch fixes regexes where patterns in RELEVANT_TEST_RESULT should match the top level namespace in the distribution name.
Subject: cpanplus-constants.patch
--- CPANPLUS-0.9003/lib/CPANPLUS/Internals/Constants/Report.pm Thu Nov 12 21:35:25 2009 +++ CPANPLUS-0.9003_01/lib/CPANPLUS/Internals/Constants/Report.pm Wed Apr 21 00:30:26 2010 @@ -80,10 +80,10 @@ my $name = $mod->module; my $specific; for my $platform (keys %OS) { - if( $name =~ /\b$platform\b/i ) { + if( $name =~ /^$platform\b/i ) { # beware the Mac != MAC next if($platform eq 'Mac' && - $name !~ /\b$platform\b/); + $name !~ /^$platform\b/); $specific++; return 1 if
Thanks. I've applied the patch to the svn repository, it'll be in the next CPAN release.