Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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: (4)
As of 2014-09-19 01:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (129 votes), past polls