Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Why I Hate Nested If-Else blocks

by dragonchild (Archbishop)
on Jan 04, 2002 at 02:06 UTC ( [id://136115]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub foo {
        my $self = shift;
    ...
            return undef;
        }
    }
    
  2. or download this
    sub foo {
        my $self = shift;
    ...
        # Do stuff
        return $some_useful_value
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-03-29 01:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found