in reply to FOREACH Variables
is interpreted as:use Net::SNMP '5.0' || die("Cannot Load SNMP Module\n");
Just stick to:use Net::SNMP ('5.0' || die("Cannot Load SNMP Module\n"));
Perl will die anyway, if it can't find and load the module.use Net::SNMP '5.0';
|
|---|