Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: next in block in foreach-loop

by danger (Priest)
on Apr 22, 2002 at 16:03 UTC ( #161083=note: print w/replies, xml ) Need Help??


in reply to next in block in foreach-loop

A bare block is a loop that executes once but obeys loop control statements such as last, next, and redo. Thus, when you next in the bare-block inside your loop, you are next'ing out of the bare-block, not the outer loop.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://161083]
help
Chatterbox?
[Corion]: Congratulations Lady_Aleena ;)
[Lady_Aleena]: Thanks Corion.
[Lady_Aleena]: This is one of my oldest accounts on the web. 8)

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2017-04-26 07:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (469 votes). Check out past polls.