]> ruin.nu Git - ndwebbie.git/commitdiff
Suppress experimental warning for smartmatch
authorMichael Andreen <harv@ruin.nu>
Sun, 27 Mar 2016 11:28:54 +0000 (13:28 +0200)
committerMichael Andreen <harv@ruin.nu>
Sun, 27 Mar 2016 11:28:54 +0000 (13:28 +0200)
scripts/sms.pl

index 4b063de87fdb69c9b831d68cd1bc013ec261fa2a..dd60bda5852cbd58122c6d12ab17f452ce267bd1 100755 (executable)
@@ -4,6 +4,8 @@ use strict;
 use warnings;
 use feature ':5.10';
 
+no if $] >= 5.018, warnings => "experimental::smartmatch";
+
 use local::lib;
 
 use Encode;