in reply to Re^4: SNMP Trap Decoding issue
in thread SNMP Trap Decoding issue

You missed a ~
- $data .= chr hex $1 while $temp=s/(..)//; + $data .= chr hex $1 while $temp=~s/(..)//;

OP = original post(er). BTW, welcome to the monastery! :-)

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}