diff options
author | Daniel Friesel <derf@finalrewind.org> | 2013-09-05 19:02:15 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2013-09-05 19:02:15 +0200 |
commit | cc9108a3560a2d82005bab08b285e3466a9c0e58 (patch) | |
tree | 7aff8c4434953288964f260f47a218323691bdec | |
parent | 12683719f8a47c3e988b7d43d414d6552138fd93 (diff) |
fix smartmatch warnings on perl >= 5.018
-rwxr-xr-x | bin/efa-m | 2 | ||||
-rw-r--r-- | lib/Travel/Status/DE/VRR.pm | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -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); |