in reply to How to locate an error in a CGI application
how can I get to the specific module and line of code ?
Insert at the top of your script
use Carp; $SIG{__WARN__} = \&Carp::cluck;
That will output a backtrace at each warning.
update - lowercase'd cluck
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
|
|---|