From 4e59696a82a1dceb7bf28416d0cb2ce58cf351bd Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sun, 21 Jun 2015 10:53:06 +0300 Subject: [PATCH] Drop minimum perl version from 5.14.0 to 5.8.9 --- Makefile.PL | 5 +++-- lib/Convert/Color/HUSL.pm | 2 +- lib/Convert/Color/HUSLp.pm | 2 +- lib/Convert/Color/LCh.pm | 2 +- lib/Convert/Color/LUV.pm | 2 +- lib/Convert/Color/XYZ.pm | 2 +- snapshot-to-csv | 3 ++- t/Convert-Color-HUSL.t | 3 ++- t/perlcritic.t | 3 ++- 9 files changed, 14 insertions(+), 10 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index e2770b6..331dd0c 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,4 +1,5 @@ -use 5.014000; +use 5.008009; +use strict; use ExtUtils::MakeMaker; WriteMakefile( @@ -6,7 +7,7 @@ WriteMakefile( VERSION_FROM => 'lib/Convert/Color/HUSL.pm', ABSTRACT => 'Convert between RGB, CIEXYZ, CIELUV, CIELCh, HUSL, HUSLp color spaces', AUTHOR => 'Marius Gavrilescu ', - MIN_PERL_VERSION => '5.14.0', + MIN_PERL_VERSION => '5.8.9', LICENSE => 'perl', SIGN => 1, PREREQ_PM => { diff --git a/lib/Convert/Color/HUSL.pm b/lib/Convert/Color/HUSL.pm index 919b04d..46a888b 100644 --- a/lib/Convert/Color/HUSL.pm +++ b/lib/Convert/Color/HUSL.pm @@ -1,6 +1,6 @@ package Convert::Color::HUSL; -use 5.014000; +use 5.008009; use strict; use warnings; use parent qw/Convert::Color/; diff --git a/lib/Convert/Color/HUSLp.pm b/lib/Convert/Color/HUSLp.pm index b044ff5..f790af6 100644 --- a/lib/Convert/Color/HUSLp.pm +++ b/lib/Convert/Color/HUSLp.pm @@ -1,6 +1,6 @@ package Convert::Color::HUSLp; -use 5.014000; +use 5.008009; use strict; use warnings; use parent qw/Convert::Color::HUSL/; diff --git a/lib/Convert/Color/LCh.pm b/lib/Convert/Color/LCh.pm index 3632729..f52ee45 100644 --- a/lib/Convert/Color/LCh.pm +++ b/lib/Convert/Color/LCh.pm @@ -1,6 +1,6 @@ package Convert::Color::LCh; -use 5.014000; +use 5.008009; use strict; use warnings; use parent qw/Convert::Color/; diff --git a/lib/Convert/Color/LUV.pm b/lib/Convert/Color/LUV.pm index 76d9b8f..513dada 100644 --- a/lib/Convert/Color/LUV.pm +++ b/lib/Convert/Color/LUV.pm @@ -1,6 +1,6 @@ package Convert::Color::LUV; -use 5.014000; +use 5.008009; use strict; use warnings; use parent qw/Convert::Color/; diff --git a/lib/Convert/Color/XYZ.pm b/lib/Convert/Color/XYZ.pm index 97a10f2..b6b7d18 100644 --- a/lib/Convert/Color/XYZ.pm +++ b/lib/Convert/Color/XYZ.pm @@ -1,6 +1,6 @@ package Convert::Color::XYZ; -use 5.014000; +use 5.008009; use strict; use warnings; use parent qw/Convert::Color/; diff --git a/snapshot-to-csv b/snapshot-to-csv index ff532ff..5dd2445 100755 --- a/snapshot-to-csv +++ b/snapshot-to-csv @@ -1,5 +1,6 @@ #!/usr/bin/perl -use v5.14; +use 5.008009; +use strict; use warnings; use File::Slurp; diff --git a/t/Convert-Color-HUSL.t b/t/Convert-Color-HUSL.t index 42aab41..e5e1673 100644 --- a/t/Convert-Color-HUSL.t +++ b/t/Convert-Color-HUSL.t @@ -1,5 +1,6 @@ #!/usr/bin/perl -use 5.014000; +use 5.008009; +use strict; use warnings; use Convert::Color::RGB8; diff --git a/t/perlcritic.t b/t/perlcritic.t index 51bad9d..d56e60d 100644 --- a/t/perlcritic.t +++ b/t/perlcritic.t @@ -1,5 +1,6 @@ #!/usr/bin/perl -use v5.14; +use 5.008009; +use strict; use warnings; use Test::More; -- 2.39.2