From: Peter Rabbitson Date: Tue, 12 Mar 2013 22:51:29 +0000 (+0100) Subject: 5.6 compat X-Git-Tag: v0.001009~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6a204448193dc4412a5172382a263f4e4556a68e;p=p5sagit%2FSub-Exporter-Progressive.git 5.6 compat --- diff --git a/Makefile.PL b/Makefile.PL index 65e5fd1..2c0f4f2 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/tags.t b/t/tags.t index 5af34c6..85a31b1 100644 --- a/t/tags.t +++ b/t/tags.t @@ -25,11 +25,10 @@ BEGIN { bb => [qw/ bar baz /], }, }; - use constant { - foo => 1, - bar => 2, - baz => 3, - }; + use constant foo => 1; + use constant bar => 2; + use constant baz => 3; + $INC{'Local/Exporter.pm'} = __FILE__; };