I also have Activestate (v5.10.1) on Windows XP and the above code from Ken works fine for me - no issue with bareword INTEGER.
What version of Net::SNMP are you using - I'm at v6.0.0. I've seen this error in the past with older versions of Net::SNMP, the fix was as described above in the 'use' line:
use Net::SNMP qw(:asn1 :snmp);
In reply to Re^7: Net::SNMP ASN1 Type error
by VinsWorldcom
in thread Net::SNMP ASN1 Type error
by jbumsted
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |