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

Re^3: why need my in a foreach loop?

by ikegami (Pope)
on Nov 28, 2010 at 23:23 UTC ( #874146=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download



    Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Node Status?
    node history
    Node Type: note [id://874146]
    help
    Chatterbox?
    [stevieb]: 80 clauses? dispatch table?
    [GotToBTru]: no, lookup
    [stevieb]: no, I mean have you considered using a dispatch table. an 80 condition if/else is huge :)
    [GotToBTru]: that is how this should have been done, no question
    [GotToBTru]: probably back when there were 5 or so clauses

    How do I use this? | Other CB clients
    Other Users?
    Others scrutinizing the Monastery: (10)
    As of 2017-06-22 13:00 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      How many monitors do you use while coding?















      Results (519 votes). Check out past polls.