From 69d90c36cc17a6b475253c29d98f02e26f1adb5e Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sat, 30 Jan 2021 20:52:42 +0100 Subject: [PATCH] network-functions.pl: declare use of smartmatch perl complains about the use of experimental smartmatch feature if it is not declared. Signed-off-by: Arne Fitzenreiter Signed-off-by: Michael Tremer --- config/cfgroot/network-functions.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/config/cfgroot/network-functions.pl b/config/cfgroot/network-functions.pl index 7bd6466e0c..e94404f054 100644 --- a/config/cfgroot/network-functions.pl +++ b/config/cfgroot/network-functions.pl @@ -25,6 +25,7 @@ package Network; require "/var/ipfire/general-functions.pl"; +use experimental 'smartmatch'; use Socket; # System ethernet configuration -- 2.39.2