Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^4: GOTO or not GOTO

by JavaFan (Canon)
on Jan 27, 2009 at 12:37 UTC ( #739172=note: print w/replies, xml ) Need Help??


in reply to Re^3: GOTO or not GOTO
in thread GOTO or not GOTO

So here's the next example, what does the following do:
Well, that's answered by the same second line of the goto documentation: It may not be used to go into any construct that requires initialization, such as a subroutine or a foreach loop.

For the third example, will to be trying to goto in a while block?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://739172]
help
Chatterbox?
[Discipulus]: the most common in Eataly, for males is to touch twice his own balls

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2018-04-26 09:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?