Re: hex-array print
- From: Josef Moellers <josef.moellers@xxxxxxxxxxxxxxxxxxx>
- Date: Fri, 30 Sep 2005 08:36:57 +0200
joe.cipale@xxxxxxxxxxx wrote:
I am using perl to write a acript that will retreive SNMP data and possibly modify SNMP values for a given object on a switch.
If I retreive the SNMP data using the standard Net-SNMP command (snmpget), the data I see is:Hex-STRING:FF FF FF F0 00 00 00
If, on the other hand, I use the SNMP package written in perl, the data is sreturned as such: yyy0. I have tried to have the data stored as an array (@hex_data) and attempted to access the data by walking through it one character at a time with no luck
Any suggestions?
The y's you are seeing probably have diacritical marks?
perldoc -f unpack
-- Josef Möllers (Pinguinpfleger bei FSC) If failure had no penalty success would not be a prize -- T. Pratchett
.
- Follow-Ups:
- Re: hex-array print
- From: joe.cipale@xxxxxxxxxxx
- Re: hex-array print
- References:
- hex-array print
- From: joe.cipale@xxxxxxxxxxx
- hex-array print
- Prev by Date: Attaching thumbnail to a windows folder
- Next by Date: Posting Guidelines for comp.lang.perl.misc ($Revision: 1.5 $)
- Previous by thread: hex-array print
- Next by thread: Re: hex-array print
- Index(es):
Relevant Pages
|