summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/comirror2
-rwxr-xr-xbin/comirror-setup2
2 files changed, 4 insertions, 0 deletions
diff --git a/bin/comirror b/bin/comirror
index f3984fb..84ac793 100755
--- a/bin/comirror
+++ b/bin/comirror
@@ -3,6 +3,8 @@ use strict;
use warnings;
use 5.010;
+no if $] >= 5.018, warnings => 'experimental::smartmatch';
+
use WWW::Mechanize;
my $mech = WWW::Mechanize->new(
diff --git a/bin/comirror-setup b/bin/comirror-setup
index d3f66ea..ab343be 100755
--- a/bin/comirror-setup
+++ b/bin/comirror-setup
@@ -3,6 +3,8 @@ use strict;
use warnings;
use 5.010;
+no if $] >= 5.018, warnings => 'experimental::smartmatch';
+
use Getopt::Long;
use WWW::Mechanize;