Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^4: multiple local vars in a foreach loop

by LanX (Chancellor)
on Jan 31, 2013 at 11:33 UTC ( #1016296=note: print w/replies, xml ) Need Help??


in reply to Re^3: multiple local vars in a foreach loop
in thread multiple local vars in a foreach loop

Unfortunately not! :(

This doesn't help splicing multiple loop vars...

each:

it will also return the index and value for the next element of an array so that you can iterate over it;

Wrong answer wrong question! ;-)

Cheers Rolf

  • Comment on Re^4: multiple local vars in a foreach loop

Replies are listed 'Best First'.
Re^5: multiple local vars in a foreach loop
by choroba (Chancellor) on Jan 31, 2013 at 11:37 UTC
    You are right. Heh, sometimes one should remember the original question, not only read a reply.
    لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2016-09-30 23:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (574 votes). Check out past polls.