From 5d752f71314c901208bd6a744597ea9b05d95576 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 5 Sep 2013 19:04:05 +0200 Subject: fix smartmatch warnings on perl >= 5.018 --- bin/icli | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/icli b/bin/icli index 62fc194..f310e60 100755 --- a/bin/icli +++ b/bin/icli @@ -7,6 +7,8 @@ use strict; use warnings; use 5.010; +no if $] >= 5.018, warnings => "experimental::smartmatch"; + use Carp qw(croak); use Date::Format; use Getopt::Long qw/:config bundling/; -- cgit v1.2.3