Suppress warnings about smartmatch being experimental
This commit is contained in:
parent
01f8aec193
commit
139190f7ae
1 changed files with 4 additions and 0 deletions
|
@ -34,6 +34,10 @@
|
|||
use strict;
|
||||
no utf8;
|
||||
|
||||
# Suppress warnings about smartmatch being experimental
|
||||
# Found here: http://blogs.perl.org/users/mike_b/2013/06/a-little-nicer-way-to-use-smartmatch-on-perl-518.html
|
||||
no if $] >= 5.017011, warnings => 'experimental::smartmatch';
|
||||
|
||||
# Nagios
|
||||
use lib "/usr/lib/nagios/plugins";
|
||||
use utils qw(%ERRORS $TIMEOUT);
|
||||
|
|
Loading…
Reference in a new issue