in reply to Re^2: How to locate an error in a CGI application
in thread How to locate an error in a CGI application

Thanks for the clarification. Unfortunately I tested it with one eval at line one - not a good idea, of course ;-)

A possible way to find the error woud be to Carp::confess() on errors, I think that works via a SIG{__DIE__} handler, but I don't know that offhand.

Update: I just tested it, it doesn't seem to work inside an eval.