strict will puke if I use ERRORS{"CRITICAL"} since I have not declared it with the my pragma. Is there a better way of usinguse strict; use lib "/usr/local/nagios/bin/libexec"; use utils qw(%ERRORS); .... exit ERRORS{"CRITICAL"};
without triggering strict. Thanks.use utils qw(%ERRORS)
In reply to use of strict .... by perlknight
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |