Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1095527]
help
Chatterbox?
[robby_dobby]: Likewise! I haven't seen a lot of people with HAs back where I come from, so I figured it might be the same around here too...
[robby_dobby]: Oh, shit -- I was replying to someone, but it wound up here. -_-
robby_dobby is still not used to PM's interface. /o\
[oiskuu]: War. War never changes.

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (15)
As of 2017-11-17 19:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (272 votes). Check out past polls.

    Notices?