http://qs1969.pair.com?node_id=80792


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

Now that I can print out the entire hash and I know that I'm getting the data that I eventually want to use. I am stuck at trying to figure out how to access values in my hash without knowing exactly what the keys are.

  • Comment on Accessing a value without knowing the key

Replies are listed 'Best First'.
Re: Accessing a value without knowing the key
by dws (Chancellor) on May 16, 2001 at 08:32 UTC
    I am stuck at trying to figure out how to access values in my hash without knowing exactly what the keys are.

    @values = values %hash;