Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by TheDamian (Vicar)
on Nov 18, 2001 at 03:21 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://126056]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-25 23:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found