in reply to See errors in CGI scripts using perl

As jeffa points out use CGI::Carp and look in the server's log files for the errors. Additionally you can use CGI::Carp qw/ fatalsToBrowser / if you don't have access to the server's log files.

Other techniques you can use involve some sort of trapping of errors and sending them out as html. An example:

The biggest problem with the example I give above is that if you use it in production you possibly can leak sensitive information if something bad happens.


Peter L. BergholdBrewer of Belgian Ales
Peter@Berghold.Netwww.berghold.net
Unix Professional