Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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 lurking in the Monastery: (7)
As of 2015-07-01 06:40 GMT
Find Nodes?
    Voting Booth?

    What kind of chocolate gives you the most pleasure?

    Results (809 votes), past polls