perl complains about the use of experimental smartmatch feature if it is not declared.
Signed-off-by: Arne Fitzenreiter arne_f@ipfire.org --- 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 7bd6466e0..e94404f05 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