Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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?


Comment on Re^4: GOTO or not GOTO

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2015-07-04 15:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls