summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-09-05 19:03:18 +0200
committerDaniel Friesel <derf@finalrewind.org>2013-09-05 19:03:18 +0200
commit6602a93dfb398afb1c566b8ef0d2ba1c7db3e091 (patch)
tree7e7f3f6bb79910b31b6794fa99603f2c96e7e155
parent86766831ccee4df7ad609b049de5cc7a79e56e14 (diff)
fix smartmatch warnings on perl >= 5.018
-rw-r--r--cgi/index.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/cgi/index.pl b/cgi/index.pl
index 215cf03..10abe9b 100644
--- a/cgi/index.pl
+++ b/cgi/index.pl
@@ -6,6 +6,8 @@ use Travel::Status::DE::DeutscheBahn;
use 5.014;
use utf8;
+no if $] >= 5.018, warnings => "experimental::smartmatch";
+
our $VERSION = '0.04';
my $refresh_interval = 900;