From: Dave Rolsky Date: Thu, 21 Aug 2008 02:58:21 +0000 (+0000) Subject: make Perl 5.8+ requirement explicit in both Makefile.PL and Moose.pm X-Git-Tag: 0.55_02~25 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ecb1297ae7dd4f72e8df4d3a437756dede8f640b;p=gitmo%2FMoose.git make Perl 5.8+ requirement explicit in both Makefile.PL and Moose.pm --- diff --git a/Makefile.PL b/Makefile.PL index c966e00..a2c5965 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -10,6 +10,7 @@ license 'perl'; my $win32 = !! ( $^O eq 'Win32' or $^O eq 'cygwin' ); # prereqs +requires 'perl' => '5.008'; requires 'Scalar::Util' => $win32 ? '1.17' : '1.18'; requires 'Carp'; requires 'Class::MOP' => '0.64_01'; diff --git a/lib/Moose.pm b/lib/Moose.pm index afffbf5..2b2f8b1 100644 --- a/lib/Moose.pm +++ b/lib/Moose.pm @@ -4,6 +4,8 @@ package Moose; use strict; use warnings; +use 5.008; + our $VERSION = '0.55_01'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN';