summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-10-29 11:14:03 +0100
committerDaniel Friesel <derf@finalrewind.org>2013-10-29 11:14:03 +0100
commitddd081d19d7d4e61ec88f282ecb0b03f37a8fc09 (patch)
treef1030f6428a173258f0dab146f158a346d9697db
parent646efdf96dcf087ee69623c836082ff666ca36a6 (diff)
visual: disable smartmatch warnings on perl 5.018+
-rwxr-xr-xbin/vdf2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/vdf b/bin/vdf
index 7f69e7d..a799716 100755
--- a/bin/vdf
+++ b/bin/vdf
@@ -6,6 +6,8 @@ use strict;
use warnings;
use 5.010;
+no if $] >= 5.018, warnings => "experimental::smartmatch";
+
use autodie;
use Derf::Visual 'GD_bar';