![]() |
|
No such thing as a small change | |
PerlMonks |
Hex return needs to be unpacked?by c (Hermit) |
on Mar 03, 2002 at 00:45 UTC ( #148919=perlquestion: print w/replies, xml ) | Need Help?? |
c has asked for the wisdom of the Perl Monks concerning the following question:
I am using SNMP.pm to gather some information from routers on my company network. For one OID in particular, when the query returns a valid answer, all goes well and my variable is set to the value of the response:
However, when the query receives an null string from the remote device, the variable $response is set to a hex value:
Is this something that I can use unpack to find a string response? thanks -c
Back to
Seekers of Perl Wisdom
|
|