summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-09-05 19:04:05 +0200
committerDaniel Friesel <derf@finalrewind.org>2013-09-05 19:04:05 +0200
commit5d752f71314c901208bd6a744597ea9b05d95576 (patch)
treeac0df2a72da748119f883f66fd941af54240e985
parentaf9ed8fb7be60341802ed3eb074cb7186d3e8611 (diff)
fix smartmatch warnings on perl >= 5.018
-rwxr-xr-xbin/icli2
1 files changed, 2 insertions, 0 deletions
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/;