]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
ids.cgi: Use experimental smartmatch.
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 12 May 2021 17:51:36 +0000 (19:51 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 19 Dec 2021 12:23:45 +0000 (13:23 +0100)
This will prevent from spawning the http error log with warnings.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/ids.cgi

index 15a340b423a13695ccaf9d74d881ac061bdb5308..161464d0d9990998ad23bcd67c826611a3d5065f 100644 (file)
@@ -20,6 +20,7 @@
 ###############################################################################
 
 use strict;
+use experimental 'smartmatch';
 
 # enable only the following on debugging purpose
 #use warnings;