in reply to Re^4: Object oriented mess
in thread Object oriented mess

That's not a perl error, that just whatever the webserver shows the browser. Look in the server's error logs, or better yet, try to run the script from the command line.

update: or try use CGI::Carp qw(fatalsToBrowser) at the top of your script.