From 67a8f1cdc5d80ee308a16972fcc77c2a997cb0aa Mon Sep 17 00:00:00 2001 From: Karen Etheridge Date: Fri, 24 Jul 2015 18:15:58 -0700 Subject: remove some obvious barriers to perl 5.6 Note this change is purely to make it easier to identify 5.6 compatibility issues; no maintenance or testing agreement for 5.6 is meant to be implied, although reasonable change requests will likely not be refused. --- Changes | 4 ++++ Makefile.PL | 8 +++----- t/idna.t | 4 ++++ t/iri.t | 4 ++++ t/punycode.t | 4 ++++ t/utf8.t | 4 ++++ 6 files changed, 23 insertions(+), 5 deletions(-) diff --git a/Changes b/Changes index 9c1c90c..ab7d390 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,9 @@ Revision history for URI + Karen Etheridge: + - minimum required perl version has been *experimentally* lowered to 5.6, + so as to allow any compatibility issues to be found. + 2015-07-25 Karen Etheridge Release 1.69 diff --git a/Makefile.PL b/Makefile.PL index a8729d4..ca46cc5 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,7 +1,5 @@ use strict; use warnings; -require 5.008001; -use utf8; use ExtUtils::MakeMaker; my $developer = -f '.gitignore'; @@ -34,7 +32,7 @@ my %WriteMakefileArgs = ( x_contributors => [ # manually added, from git shortlog -e -s -n 'Gisle Aas ', 'Karen Etheridge ', - 'Ville Skyttä ', + "Ville Skytt\xe4 ", 'Mark Stosberg ', 'Michael G. Schwern ', 'Olaf Alders ', @@ -44,7 +42,7 @@ my %WriteMakefileArgs = ( 'Piotr Roszatycki ', 'Salvatore Bonaccorso ', 'Tatsuhiko Miyagawa ', - 'Torsten Förtsch ', + "Torsten F\xf6rtsch ", 'Adam Herzog ', 'gerard ', 'Alex Kapranoff ', @@ -72,7 +70,7 @@ my %WriteMakefileArgs = ( 'Exporter' => '5.57', 'utf8' => '0', 'Scalar::Util' => '0', - 'perl' => '5.008001', + 'perl' => '5.006', # only 5.8+ is guaranteed; patches requested for 5.6 fixes }, recommends => { 'Business::ISBN' => '0', diff --git a/t/idna.t b/t/idna.t index da2ad98..81b33d1 100644 --- a/t/idna.t +++ b/t/idna.t @@ -1,6 +1,10 @@ use strict; use warnings; +BEGIN { + plan skip_all => 'these tests require perl 5.8' if $] < '5.008'; +} + use utf8; use Test::More tests => 7; use URI::_idna; diff --git a/t/iri.t b/t/iri.t index f1dfd51..7217e76 100644 --- a/t/iri.t +++ b/t/iri.t @@ -1,6 +1,10 @@ use strict; use warnings; +BEGIN { + plan skip_all => 'these tests require perl 5.8' if $] < '5.008'; +} + use utf8; use Test::More; use Config; diff --git a/t/punycode.t b/t/punycode.t index d1e3084..6ba97d3 100644 --- a/t/punycode.t +++ b/t/punycode.t @@ -1,6 +1,10 @@ use strict; use warnings; +BEGIN { + plan skip_all => 'these tests require perl 5.8' if $] < '5.008'; +} + use utf8; use Test::More tests => 15; use URI::_punycode qw(encode_punycode decode_punycode); diff --git a/t/utf8.t b/t/utf8.t index 1453cfc..7dad5d6 100644 --- a/t/utf8.t +++ b/t/utf8.t @@ -1,3 +1,7 @@ +BEGIN { + plan skip_all => 'these tests require perl 5.8' if $] < '5.008'; +} + use strict; use warnings; -- cgit v1.2.1