|
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];
}
|