Skip to content

Commit

Permalink
Avoid failing to do perl Makefile.PL
Browse files Browse the repository at this point in the history
  • Loading branch information
cho45 committed Dec 4, 2010
1 parent da2b640 commit a904b85
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Makefile.PL
Expand Up @@ -8,9 +8,12 @@ BEGIN {
for (@mip) {
eval "require $_";
if ($@) {
warn $@;
printf("# Install following (perl Makefile.PL | cpanm):\n%s", join("\n", @mip));
exit 1;
eval "require inc::$_";
if ($@) {
warn $@;
printf("# Install following (perl Makefile.PL | cpanm):\n%s", join("\n", @mip));
exit 1;
}
}
}
};
Expand Down

0 comments on commit a904b85

Please sign in to comment.