From: Vincent Pit Date: Tue, 6 Aug 2013 03:58:14 +0000 (-0300) Subject: Don't support old development releases anymore X-Git-Tag: v0.05~17 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=41b56a84dc14873e4c9638d315b3fc525324c288;p=perl%2Fmodules%2Fre-engine-Hooks.git Don't support old development releases anymore --- diff --git a/Makefile.PL b/Makefile.PL index b481d58..5f8a9fd 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -44,6 +44,26 @@ my %META = ( }, ); +my $latest_dev_rev = 19; + +sub is_outdated_dev_perl { + my ($rev) = "$]" =~ /^5\.([0-9]{2}[13579])/; + + return unless defined $rev; + + return $rev < $latest_dev_rev; +} + +if (is_outdated_dev_perl) { + print STDERR < 5.10.1. +Any stable release of L since 5.10.1, or a development release of L from the 5.19 branch. L.