Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: improve ugly flow control

by dragonchild (Archbishop)
on Sep 19, 2004 at 14:12 UTC ( #392185=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub handle_options
    {
    ...
    }; if {$@) {
        log_failure();
    }
    
  2. or download this
    eval {
        handle_options( \%hash1, \@options1, \&do_something1 );
    ...
    }; if ($@) {
        log_failure();
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2015-04-19 13:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who makes your decisions?







    Results (358 votes), past polls