I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time
for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or
on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news,
I hope these links will serve you well.
Posted on 2009-06-22 13:47:00-07
by frank85in response to 11026
Re: How is it possible to change the outputformat with the translate function
Thanks for the answer.
But unfortunatly this function translate somehow. It shouldn't be translate the values, which are in Hex-String.
I want only translate strings or numbers and the hexadecimal numbers should be in their hexadecimal format.
Hex-STRING: 0A 00 3F FE <- this values shouldn't be reformated - This in output from snmpget
STRING: <NL>6-- <- This line with some special characters should be format.
The hex-string show me for my first line in your example as output: 0x30783061303033666665
And for the second line the correct Hex-STRING.
Do you know the reason for it?
Thank you in advance for your efforts.