From 47fdea96b9d6ba9e56a42e59dc43b29666990a4b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 5 Sep 2013 19:02:47 +0200 Subject: fix smartmatch warnings on perl >= 5.018 --- cgi/index.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/cgi/index.pl b/cgi/index.pl index 0aa3e17..df66039 100644 --- a/cgi/index.pl +++ b/cgi/index.pl @@ -11,6 +11,7 @@ use Travel::Status::DE::DeutscheBahn; use Travel::Status::DE::VRR; no warnings 'uninitialized'; +no if $] >= 5.018, warnings => "experimental::smartmatch"; our $VERSION = '0.06'; -- cgit v1.2.3