Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 contemplating the Monastery: (10)
As of 2014-08-22 06:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (148 votes), past polls