Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 cooling their heels in the Monastery: (8)
As of 2014-08-29 11:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (280 votes), past polls