Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re (tilly) 4: Paradigm Shift - when to use goto

by TheDamian (Priest)
on Nov 18, 2001 at 03:21 UTC ( #126056=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        for (i=1; i<10; i++) {
          for (j=1; j<10; j++) {
    ...
          }
        }
        EOLOOPS:
    
  2. or download this
        LOOPS: for $i (1..10) {
                 for $j (1..10) {
    ...
                   }
                 }
               }
    
  3. or download this
        #define named(name) goto name; name##_break: if (0) name:
        #define break(name) goto name##_break;
    ...
                          }
                        }
                      }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2014-09-02 19:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (29 votes), past polls