Subject: | Typo (wrong parentheses) in Module::CPANTS::Kwalitee::NeedsCompiler |
There is a typo in lib/Module/CPANTS/Kwalitee/NeedsCompiler.pm, from
Module-CPANTS-Analyse-0.72, causing analyse() to issue this warning:
Use of uninitialized value in string eq at
/usr/local/share/perl/5.8.8/Module/CPANTS/Kwalitee/NeedsCompiler.pm line 22.
The patch below (putting the second closing parenthesis in the right
place) should fix this.
-Martin
Subject: | paren.patch |
--- lib/Module/CPANTS/Kwalitee/NeedsCompiler.pm.dist 2007-06-30 23:15:25.000000000 +0200
+++ lib/Module/CPANTS/Kwalitee/NeedsCompiler.pm 2007-07-12 18:39:08.000000000 +0200
@@ -19,7 +19,7 @@
return;
}
}
- if (defined ref($me->d->{prereq}) and ref($me->d->{prereq} eq 'ARRAY')) {
+ if (defined ref($me->d->{prereq}) and ref($me->d->{prereq}) eq 'ARRAY') {
for my $m (@{ $me->d->{prereq} }) {
if ($m->{requires} =~ /^Inline::/
or $m->{requires} eq 'ExtUtils::CBuilder'