From: Peter Rabbitson Date: Thu, 4 Jul 2013 11:13:53 +0000 (+0200) Subject: Works fine on perl 5.6 X-Git-Tag: v1.003000~22 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cde4d060ca7cbcf0e31ae622e7e9dbf234bedecb;p=gitmo%2FRole-Tiny.git Works fine on perl 5.6 --- diff --git a/Changes b/Changes index 3275ae2..530e0c5 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,7 @@ - fix broken implementation of method conflict resolution (Perlmonks#1041015) - add is_role method for checking if a given package is a role + - drop minimum perl version - code tests just fine on 5.6.1 and 5.6.2 1.002005 - 2013-02-01 - complain loudly if Class::Method::Modifiers is too old (and skip tests) diff --git a/Makefile.PL b/Makefile.PL index 680e5f6..4239cb9 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,6 +1,6 @@ use strict; use warnings FATAL => 'all'; -use 5.008001; +use 5.006; use ExtUtils::MakeMaker; (do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml'; diff --git a/t/concrete-methods.t b/t/concrete-methods.t index 8425386..6e7a695 100644 --- a/t/concrete-methods.t +++ b/t/concrete-methods.t @@ -9,6 +9,7 @@ use Test::Fatal; sub before_role {} use Role::Tiny; + no warnings 'once'; our $GLOBAL1 = 1; sub after_role {} @@ -16,6 +17,7 @@ use Test::Fatal; { package MyClass1; + no warnings 'once'; our $GLOBAL1 = 1; sub method {}