* [PATCH] network-functions.pl: declare use of smartmatch
@ 2021-01-30 19:52 Arne Fitzenreiter
0 siblings, 0 replies; only message in thread
From: Arne Fitzenreiter @ 2021-01-30 19:52 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 627 bytes --]
perl complains about the use of experimental smartmatch feature
if it is not declared.
Signed-off-by: Arne Fitzenreiter <arne_f(a)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
--
2.17.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-30 19:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-30 19:52 [PATCH] network-functions.pl: declare use of smartmatch Arne Fitzenreiter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox