Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 a soft breeze sighs...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2018-02-21 21:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (288 votes). Check out past polls.

    Notices?