Works fine on perl 5.6
Peter Rabbitson [Thu, 4 Jul 2013 11:13:53 +0000 (13:13 +0200)]
Changes
Makefile.PL
t/concrete-methods.t

diff --git a/Changes b/Changes
index 3275ae2..530e0c5 100644 (file)
--- 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)
index 680e5f6..4239cb9 100644 (file)
@@ -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';
 
index 8425386..6e7a695 100644 (file)
@@ -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 {}