Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: using the feature 'switch' in loops

by ikegami (Pope)
on Jul 29, 2014 at 22:29 UTC ( #1095527=note: print w/ replies, xml ) Need Help??


in reply to using the feature 'switch' in loops

I didn't expected that the 'last' statement in the switch statements

There's no such thing as a switch statement. Did you mean a given statement? But you didn't use one??

You have a pair of nested loops. last (without a label) exits the innermost loop.

Comment on Re: using the feature 'switch' in loops
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2016-04-29 05:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (438 votes). Check out past polls.