Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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.

Comment on Re: next in block in foreach-loop

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2015-11-26 11:00 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (697 votes), past polls