foreach my $snmp_community (@snmpro) { if (`$snmpget $oid $snmpcommunity $rtr`) { process_snmpdata(); last; } else { say "Host not responding to $snmp_community"; next; } }
In reply to Re: Looping through numerous snmp strings....
by grumbert
in thread Looping through numerous snmp strings....
by timmytimay
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |