From c59bd0f22f2f937877107e270650a21a84b54fee Mon Sep 17 00:00:00 2001 From: Chris 'BinGOs' Williams Date: Mon, 7 Nov 2011 15:40:36 +0000 Subject: [PATCH] If Moose is installed and used, explicitly add it as a prereq See https://rt.cpan.org/Public/Bug/Display.html?id=72043 for more details. --- inc/MakeMaker.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/MakeMaker.pm b/inc/MakeMaker.pm index e9bb5f5..01228c1 100644 --- a/inc/MakeMaker.pm +++ b/inc/MakeMaker.pm @@ -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