Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Error handling - how much/where/how? (a plug for Devel::SimpleTrace)

by grinder (Bishop)
on Jun 14, 2005 at 07:50 UTC ( [id://466418]=note: print w/replies, xml ) Need Help??


in reply to Re: Error handling - how much/where/how?
in thread Error handling - how much/where/how?

I used to hand-roll similar stuff, badly. These days I have learnt to become Lazy, and I now use Devel::SimpleTrace. That's usually good enough for me to figure out the course of events when Things Go Wrong.

- another intruder with the mooring in the heart of the Perl

Replies are listed 'Best First'.
Re^3: Error handling - how much/where/how? (a plug for Devel::SimpleTrace)
by salva (Canon) on Jun 14, 2005 at 08:37 UTC
    another way is to use Carp::croak to report errors and then use...
    perl -MCarp=verbose foo.pl
    to get stack traces.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-03-29 11:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found