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

Re^3: Error::Simple or eval{} use to capture &Carp::croak

by SFLEX (Chaplain)
on Sep 04, 2009 at 22:47 UTC ( [id://793619]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Error::Simple or eval{} use to capture &Carp::croak
in thread Error::Simple or eval{} use to capture &Carp::croak

I think the error from croak is sent to warn so maybe you can do something after that error has accrued like this.
$SIG{__WARN__} = sub { my $wn = shift; handle_this_error() if $wn =~ /The_Error_Your_After/i; warn $wn; };


Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2025-06-23 03:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.