I've a couple quick thoughts/questions on this...
Check where your building your Net::SNMP session, and verify what version of SNMP you are using. The docs for Net::SNMP, at the end of the traps section, states:
A longshot, but I'm rather inexperienced with sending traps.