Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: keys and values order on a hash

by ikegami (Pope)
on Jul 11, 2011 at 18:29 UTC ( #913744=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while (...each(%h)...) {
       ...
       last if ...;
       ...
    }
    
  2. or download this
    keys(%h);  # Reset iterator.
    while (...each(%h)...) {
    ...
       last if ...;
       ...
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://913744]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2018-01-20 00:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (226 votes). Check out past polls.

    Notices?