Fix "Smartmatch is experimental at …" warnings

Added the "no warnings" pragma to suppress warnings about smartmatch being an
experimental feature.
This commit is contained in:
Sven Putteneers 2022-07-15 11:48:00 +02:00
parent 7088534f08
commit dfaf64c3b7

View file

@ -75,6 +75,7 @@ http://www.webnms.com/snmp/help/snmpapi/snmpv3/table_handling/snmptables_basics.
use strict; use strict;
#use warnings; #use warnings;
no warnings 'experimental::smartmatch';
use Cwd 'abs_path'; use Cwd 'abs_path';
use Data::Dumper; use Data::Dumper;