Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Why I Hate Nested If-Else blocks

by jeffa (Bishop)
on Jan 04, 2002 at 01:27 UTC ( #136097=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub foo {
       my ($self,$ref) = @_;
    ...
          # do case number 2
       }
    } 
    
  2. or download this
    sub foo {
       my ($self,$ref) = @_;
    ...
       }
    
    } 
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2016-06-29 09:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (375 votes). Check out past polls.