update: or try use CGI::Carp qw(fatalsToBrowser) at the top of your script.
In reply to Re^5: Object oriented mess by Joost in thread Object oriented mess by longliveAJ