Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 perusing the Monastery: (2)
As of 2016-02-09 04:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (301 votes), past polls