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 12:59:36-07 by dtown in response to 11025
Re: How is it possible to change the outputformat with the translate function
You would need to do something like:
$oid = "<your OID>"; $session->translate(-octetstring => 0x0); $response = $session->get_request(-varbindlist => [$oid]); printf "%s: %s\n", $oid, hex_format($response->{$oid}); $session->translate(-octetstring => 0x1); ... sub hex_format { sprintf '0x%s', unpack 'H*', $_[0]; }
Direct Responses: 11027 | Write a response