Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 browsing the Monastery: (5)
As of 2015-03-02 01:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (23 votes), past polls