Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^4: Hash order randomization is coming, are you ready?

by demerphq (Chancellor)
on Mar 29, 2013 at 13:56 UTC ( #1026154=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    my %hash = map { $_ => 1 } (1,2,3,5,7,8);
  2. or download this
    Hash entries are returned in an apparently random order.  The actual r
    order is specific to a given hash; the exact same series of operations
    details on why hash order is randomized. Aside from the guarantees
    provided here the exact details of Perl's hash algorithm and the hash
    traversal order are subject to change in any release of Perl.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1026154]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (13)
As of 2015-10-13 14:23 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (308 votes), past polls