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 (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.