Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: How does next label work?

by 7stud (Deacon)
on Jan 06, 2013 at 10:22 UTC ( #1011873=note: print w/replies, xml ) Need Help??


in reply to How does next label work?

It might be helpful to think of next as jumping to just before the closing brace of the loop/block. Because your next statement is the last statement before the closing brace, it does nothing.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011873]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2017-01-24 03:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (201 votes). Check out past polls.