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 scrutinizing the Monastery: (8)
As of 2014-08-23 03:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (171 votes), past polls