note chrestomanci <p>Will the order of keys returned change from one call to the next on the same has in the same run of a script? Is there an explicit shuffle done every time you call <c>keys</c> etc?</p> <p>Consider the code:</p> <c> my $hashRef = someFuncCall(); my $keys1 = join(' ', keys %$hashRef); my $keys2 = join(' ', keys %$hashRef); print "Key order is not stable" if $keys1 ne $keys2; </c> 1005122 1005122