summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-09-20 02:26:46 +0200
committerDaniel Friesel <derf@finalrewind.org>2013-09-20 02:26:46 +0200
commit94fadd6a0b698352872832c1c42031240b2a21c2 (patch)
tree53e26fb0c74d03db5afca5af82fefd4a23af3257 /bin
parent5742226c2d636fa1e26c9c3376dd917a7a2e544c (diff)
checklinks: fix smartmatch warnings
Diffstat (limited to 'bin')
-rwxr-xr-xbin/checklinks2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/checklinks b/bin/checklinks
index e442665..43eca8d 100755
--- a/bin/checklinks
+++ b/bin/checklinks
@@ -8,6 +8,8 @@ use Cwd;
use Getopt::Long;
use Term::ANSIColor;
+no if $] >= 5.018, warnings => "experimental::smartmatch";
+
my $base = $ENV{HOME};
my $msglevel = 0;
my $remove = 0;