in reply to See errors in CGI scripts using perl
Try:
use CGI::Carp qw(fatalsToBrowser); [download]
This will display all errors in your browser.
Michele.