Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: GOTO considered (a necessary) evil?

by Abigail-II (Bishop)
on Jul 16, 2002 at 09:25 UTC ( #182025=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -le 'BAR: print 1; BAZ: for (2..3) {print; redo BAR; }'
    
  2. or download this
    perl -le 'BAR: print 1; BAZ: for (2..3) {print; goto BAR; }'
    
  3. or download this
    perl -le 'BAR: print 1; BAZ: for (2..3) {print; redo BAZ; }'
    
  4. or download this
    perl -le 'BAR: print 1; BAZ: for (2..3) {print; goto BAZ; }'
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2014-12-25 23:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (163 votes), past polls