Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: improve ugly flow control

by dragonchild (Archbishop)
on Sep 19, 2004 at 14:12 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://392185]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-04-25 14:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found