Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2016-07-28 11:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (253 votes). Check out past polls.