From: John Napiorkowski Date: Mon, 12 Dec 2011 15:59:34 +0000 (-0500) Subject: deal when the case when Class::XSAccessor is a trial release on CPAN and make us... X-Git-Tag: v0.009013~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=edb9977c5fa2b2a737ab19ce83f934253c74611f;p=gitmo%2FMoo.git deal when the case when Class::XSAccessor is a trial release on CPAN and make us dependend on a more modern version --- diff --git a/Makefile.PL b/Makefile.PL index 93dcb4f..b047631 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -10,7 +10,7 @@ my %BUILD_DEPS = ( ); my %RUN_DEPS = ( - 'Class::Method::Modifiers' => 1.05, + 'Class::Method::Modifiers' => 1.07, 'strictures' => 1.001001, ); diff --git a/lib/Method/Generate/Accessor.pm b/lib/Method/Generate/Accessor.pm index f8b1fbf..13e6ccc 100644 --- a/lib/Method/Generate/Accessor.pm +++ b/lib/Method/Generate/Accessor.pm @@ -11,7 +11,7 @@ BEGIN { && _maybe_load_module('Class::XSAccessor') && - (Class::XSAccessor->VERSION > 1.06) + (eval { Class::XSAccessor->VERSION('1.07') }) ; }