Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Rethrowing with die $@ considered harmful

by fce2 (Sexton)
on Jul 18, 2006 at 11:32 UTC ( #561983=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        my %ubackup = %udat;
        eval {
    ...
            %udat = %ubackup;
            die $@;
        }
    
  2. or download this
    sub DESTROY {
        my ($self) = @_;
    ...
            $self->_unbind;
        };
    }
    
  3. or download this
        local $@;
        eval {
            $self->_unbind;
        };
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2022-01-22 02:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (60 votes). Check out past polls.

    Notices?