Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 chilling in the Monastery: (11)
As of 2014-12-26 14:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (171 votes), past polls