Skip to content

Commit

Permalink
If Moose is installed and used, explicitly add it as a prereq
Browse files Browse the repository at this point in the history
  • Loading branch information
bingos committed Nov 7, 2011
1 parent 5d8fa4d commit c59bd0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inc/MakeMaker.pm
Expand Up @@ -16,6 +16,8 @@ $WriteMakefileArgs{PREREQ_PM} ||= {};
if (eval { require Moose }) {
# we have any version of Moose; good enough! -- rjbs, 2011-09-15
# This should fix a crufty edge-case with cpantesting -- bingos, 2011-11-07
$WriteMakefileArgs{PREREQ_PM}{Moose} = '0';
} else {
# No Moose? Well, we need *something* to test with, so we'll ask for the
# lighter-weight one, Mouse. -- rjbs, 2011-09-15
Expand Down

0 comments on commit c59bd0f

Please sign in to comment.