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

Re: Using pos() inside given/when

by Kenosis (Priest)
on May 10, 2013 at 00:34 UTC ( #1032867=note: print w/replies, xml ) Need Help??


in reply to Using pos() inside given/when

Use for() instead of given():

... for ( $h->{s} ) {... ...

Output:

1 3 5

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2017-02-25 07:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (365 votes). Check out past polls.