DNS is running and is doing the name resolution. I do want to perform 4 different snmp queries against each host in this file.
I'm not exactly sure what you mean when you say:
Start out with a hash whose keys are the IP addresses.
I copied and pasted the file over to the unix box and made one change to reflect the name of the file that contains the hosts. I tried to execute it but it says:
johnsonr@nmscrme01 > ./snmptest.pl
syntax error at ./snmptest.pl line 17, near "= ..."
Global symbol "$ip" requires explicit package name at ./snmptest.pl line 19.
Execution of ./snmptest.pl aborted due to compilation errors.
johnsonr@nmscrme01 >