Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Hash order randomization is coming, are you ready? (perlfaq4)

by Corion (Pope)
on Jul 19, 2013 at 07:36 UTC ( #1045283=note: print w/ replies, xml ) Need Help??


in reply to Re: Hash order randomization is coming, are you ready? (perlfaq4)
in thread Hash order randomization is coming, are you ready?

For a single hash, keys and values are (still) guaranteed to return the items in the same order, as long as the hash remains unmodified between the calls; see keys. This means that this exact line still keeps working. Doing otherwise would likely break much code in very hard to detect ways.


Comment on Re^2: Hash order randomization is coming, are you ready? (perlfaq4)
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2015-03-01 05:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    On my keyboard, Caps lock is:








    Results (466 votes), past polls