<?xml version="1.0" encoding="windows-1252"?>
<node id="997978" title="Re: hash array" created="2012-10-09 07:06:16" updated="2012-10-09 07:06:16">
<type id="11">
note</type>
<author id="645387">
grizzley</author>
<data>
<field name="doctext">
&lt;p&gt;Please use &lt;code&gt;&lt;code&gt;&lt;/code&gt; tags around your code.&lt;/p&gt;
And regarding your problem: &lt;code&gt;@keys = keys %hash&lt;/code&gt; will put all keys from hash in the array. Duplicated entries are there possibly because in your hash you have key the same as value.</field>
<field name="root_node">
997975</field>
<field name="parent_node">
997975</field>
</data>
</node>
