in reply to
Taking Input from PID
I think
SNMP Trap Translator
(which is written in Perl) will either do what you need, or provide invaluable pointers on how to do what you need...
Comment on
Re: Taking Input from PID
In Section
Seekers of Perl Wisdom