<?xml version="1.0" encoding="windows-1252"?>
<node id="1006691" title="Re^4: Hash order randomization is coming, are you ready?" created="2012-12-02 05:03:02" updated="2012-12-02 05:03:02">
<type id="11">
note</type>
<author id="108447">
demerphq</author>
<data>
<field name="doctext">
&lt;p&gt;
Yes indeed. This cannot change. And is guaranteed by the nature of the how keys() and values() are implemented in native hashes (non-magical). Basically they are both achieved by walking the bucket array from left to right and within a bucket from top to bottom. Since they both do the same data structure walk they both return the same results.  However note this is true only of a /given/ hash. You can't assume that one hashes keys() will match another's values() even if they contain the same list of keys().
&lt;/p&gt;


&lt;div class="pmsig"&gt;&lt;div class="pmsig-108447"&gt;
---&lt;br /&gt; 
$world=~s/war/peace/g&lt;br /&gt;
&lt;br /&gt;

&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
1005122</field>
<field name="parent_node">
1006308</field>
</data>
</node>
