<?xml version="1.0" encoding="windows-1252"?>
<node id="555486" title="Re: Direct reference to any element in a hash-of-hash" created="2006-06-15 08:46:54" updated="2006-06-15 04:46:54">
<type id="11">
note</type>
<author id="491819">
ioannis</author>
<data>
<field name="doctext">
When you access a HoH this way, a random
child-hash is printed; the is no guaranty it will
be the first child-hash because the hash has no concept
of element ordering. You will receive a random element.

&lt;code&gt;

# All these are random accesses.
my ( $any ) =  values %$hoh;
print "source: ", ${[values %$hoh]}[0]{source};

&lt;/code&gt;</field>
<field name="root_node">
555478</field>
<field name="parent_node">
555478</field>
</data>
</node>
