Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2015-11-30 02:14 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 (756 votes), past polls