Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re^2: Best Practices for Exception Handling

by demerphq (Chancellor)
on Jan 29, 2003 at 17:06 UTC ( #231016=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub bar
    {
    ...
      eval { $self->method( @args ); 1} 
           or $self->raise_error( $@, @_ ) and return undef;
    }
    
  2. or download this
    sub bar
    {
    ...
      eval { $self->method( @args ); 1} 
           or return $self->raise_error( $@, @_ );
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2016-06-25 16:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (326 votes). Check out past polls.