Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

(Ovid) Re: Getting readable results from Net::SNMP get_table method

by Ovid (Cardinal)
on May 16, 2001 at 03:32 UTC ( [id://80751]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://80751]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-19 13:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found