summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-09-05 19:02:15 +0200
committerDaniel Friesel <derf@finalrewind.org>2013-09-05 19:02:15 +0200
commitcc9108a3560a2d82005bab08b285e3466a9c0e58 (patch)
tree7aff8c4434953288964f260f47a218323691bdec
parent12683719f8a47c3e988b7d43d414d6552138fd93 (diff)
fix smartmatch warnings on perl >= 5.018
-rwxr-xr-xbin/efa-m2
-rw-r--r--lib/Travel/Status/DE/VRR.pm2
2 files changed, 4 insertions, 0 deletions
diff --git a/bin/efa-m b/bin/efa-m
index 6feb839..b0c3a39 100755
--- a/bin/efa-m
+++ b/bin/efa-m
@@ -3,6 +3,8 @@ use strict;
use warnings;
use 5.010;
+no if $] >= 5.018, warnings => "experimental::smartmatch";
+
our $VERSION = '1.02';
binmode( STDOUT, ':encoding(utf-8)' );
diff --git a/lib/Travel/Status/DE/VRR.pm b/lib/Travel/Status/DE/VRR.pm
index 2594fa8..1a3cd3f 100644
--- a/lib/Travel/Status/DE/VRR.pm
+++ b/lib/Travel/Status/DE/VRR.pm
@@ -4,6 +4,8 @@ use strict;
use warnings;
use 5.010;
+no if $] >= 5.018, warnings => "experimental::smartmatch";
+
our $VERSION = '1.02';
use Carp qw(confess cluck);