Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 rifling through the Monastery: (10)
As of 2014-12-26 11:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (171 votes), past polls