You mean something like use CGI::Carp 'fatalsToBrowser';?
In reply to Re: Trapping CGI Error by jasonk in thread Trapping CGI Error by tcf22