Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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)
Replies are listed 'Best First'.
Re^3: Error handling - how much/where/how? (a plug for Devel::SimpleTrace)
by salva (Abbot) 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 exploiting the Monastery: (11)
As of 2015-07-08 05:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (94 votes), past polls