in reply to Convert::BER printing values

# This is the value I need to expand print "varbind = $trap{'ber_varbindlist'}\n";
That is written as
print Dumper( \%trap );
What is the output?

Replies are listed 'Best First'.
Re^2: Convert::BER printing values
by VinsWorldcom (Prior) on Apr 22, 2009 at 12:18 UTC

    From the Dumper(\%varbind) section of the output, I see

    :
    $VAR1 = { '1.3.6.1.4.1.50000.1.1' => bless( [ '♦♦arg1', 0, [] ], 'Convert::BER' ) };

    I'm successfully breaking apart {$oid} hash key, but the $val is still a Convert::BER=ARRAY. Do I have to "dereference" (is that the right term) it?

      I'm successfully breaking apart {$oid} hash key, but the $val is still a Convert::BER=ARRAY. Do I have to "dereference" (is that the right term) it?
      Yes, dereference is the right term. See references quick reference