Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Pathologically Eclectic Rubbish Lister
 
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 ( #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


Comment on Re^2: Error handling - how much/where/how? (a plug for Devel::SimpleTrace)
Re^3: Error handling - how much/where/how? (a plug for Devel::SimpleTrace)
by salva (Monsignor) 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
Node Status?
node history
Node Type: note [id://466418]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (14)
As of 2014-04-16 16:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (432 votes), past polls