Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: what would you like to see in perl5.12? (seek)

by Arunbear (Parson)
on Aug 06, 2008 at 09:25 UTC ( #702574=note: print w/ replies, xml ) Need Help??


in reply to Re^3: what would you like to see in perl5.12? (seek)
in thread what would you like to see in perl5.12?

But say you have a hash like

%capital = ( France => 'Paris', England => 'London', Hungary => 'Budapest', );
and you seek to 'Russia'. Should the next call to each behave as if all the elements had been read (i.e. return end-of-hash) ?


Comment on Re^4: what would you like to see in perl5.12? (seek)
Download Code
Re^5: what would you like to see in perl5.12? (seek)
by tye (Cardinal) on Aug 06, 2008 at 12:47 UTC

    Of course.

    - tye        

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2015-07-05 17:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls