in reply to Getting readable results from Net::SNMP get_table method

Data::Dumper is a quick and easy method of seeing what's really in variables. In this case, the scalar $result appears to be a reference to an anonymous hash. Try this:
use Data::Dumper; print Dumper( $result );
That will let you see what you're getting back.

Cheers,
Ovid

Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.

  • Comment on (Ovid) Re: Getting readable results from Net::SNMP get_table method
  • Download Code