Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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


Comment on Re: Using pos() inside given/when
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2015-08-04 19:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (74 votes), past polls