From cc9108a3560a2d82005bab08b285e3466a9c0e58 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 5 Sep 2013 19:02:15 +0200 Subject: fix smartmatch warnings on perl >= 5.018 --- lib/Travel/Status/DE/VRR.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/Travel/Status/DE/VRR.pm') 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); -- cgit v1.2.3