Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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
    +andom
    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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2014-12-19 10:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (78 votes), past polls