Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 lurking in the Monastery: (4)
As of 2015-05-04 01:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (79 votes), past polls