![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: random behaviour of perl hashesby lima1 (Curate) |
on Aug 28, 2006 at 00:16 UTC ( #569905=note: print w/replies, xml ) | Need Help?? |
from keys:
The keys are returned in an apparently random order. The actual random order is subject to change in future versions of perl, but it is guaranteed to be the same order as either the "values" or "each" function produces (given that the hash has not been modified). Since Perl 5.8.1 the ordering is different even between different runs of Perl for security reasons (see "Algorithmic Complexity Attacks" in perlsec).
In Section
Seekers of Perl Wisdom
|
|