From 3ed11d5e2fb6ae787d10843281ce53e0b2c750aa Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 8 Jan 2017 11:26:15 +0100 Subject: Bump minimum perl version to 5.14 (older ones have odd RE issues) --- Build.PL | 2 +- bin/hafas-m | 2 +- lib/Travel/Status/DE/DeutscheBahn.pm | 2 +- lib/Travel/Status/DE/HAFAS.pm | 2 +- lib/Travel/Status/DE/HAFAS/Result.pm | 2 +- lib/Travel/Status/DE/HAFAS/StopFinder.pm | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Build.PL b/Build.PL index eda82ff..17a1032 100755 --- a/Build.PL +++ b/Build.PL @@ -17,7 +17,7 @@ Module::Build->new( module_name => 'Travel::Status::DE::DeutscheBahn', license => 'perl', requires => { - 'perl' => '5.10.1', + 'perl' => '5.14', 'Carp' => 0, 'Class::Accessor' => '0.16', 'DateTime' => 0, diff --git a/bin/hafas-m b/bin/hafas-m index 15be9a4..3840834 100755 --- a/bin/hafas-m +++ b/bin/hafas-m @@ -1,7 +1,7 @@ #!/usr/bin/env perl use strict; use warnings; -use 5.010; +use 5.014; our $VERSION = '2.01'; diff --git a/lib/Travel/Status/DE/DeutscheBahn.pm b/lib/Travel/Status/DE/DeutscheBahn.pm index 37e9817..ae27229 100644 --- a/lib/Travel/Status/DE/DeutscheBahn.pm +++ b/lib/Travel/Status/DE/DeutscheBahn.pm @@ -2,7 +2,7 @@ package Travel::Status::DE::DeutscheBahn; use strict; use warnings; -use 5.010; +use 5.014; use parent 'Travel::Status::DE::HAFAS'; diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm index 838bf5e..2cf271a 100644 --- a/lib/Travel/Status/DE/HAFAS.pm +++ b/lib/Travel/Status/DE/HAFAS.pm @@ -2,7 +2,7 @@ package Travel::Status::DE::HAFAS; use strict; use warnings; -use 5.010; +use 5.014; use utf8; no if $] >= 5.018, warnings => 'experimental::smartmatch'; diff --git a/lib/Travel/Status/DE/HAFAS/Result.pm b/lib/Travel/Status/DE/HAFAS/Result.pm index 4921fab..83d9045 100644 --- a/lib/Travel/Status/DE/HAFAS/Result.pm +++ b/lib/Travel/Status/DE/HAFAS/Result.pm @@ -2,7 +2,7 @@ package Travel::Status::DE::HAFAS::Result; use strict; use warnings; -use 5.010; +use 5.014; no if $] >= 5.018, warnings => 'experimental::smartmatch'; diff --git a/lib/Travel/Status/DE/HAFAS/StopFinder.pm b/lib/Travel/Status/DE/HAFAS/StopFinder.pm index d3c5745..3767a67 100644 --- a/lib/Travel/Status/DE/HAFAS/StopFinder.pm +++ b/lib/Travel/Status/DE/HAFAS/StopFinder.pm @@ -2,7 +2,7 @@ package Travel::Status::DE::HAFAS::StopFinder; use strict; use warnings; -use 5.010; +use 5.014; use utf8; no if $] >= 5.018, warnings => 'experimental::smartmatch'; -- cgit v1.2.3