For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > April 2004 > forcing stack backtrace in the case of unhandled exception/Perl error









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author forcing stack backtrace in the case of unhandled exception/Perl error
David Garamond

2004-04-27, 12:26 am

I've [re]discovered the wonderful world of Carp. I've now peppered most
of my scripts with 'use Carp qw(verbose);'.

However, whenever things go wrong (like my program calls an undefined
subroutine, or I tried to modify a constant), my program dies without
the stack backtrace. Any idea how I can get a backtrace?

--
dave
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com