in reply to #!/usr/bin/perl
use CGI::Carp 'fatalsToBrowser'; [download]
That might help a bit :)
cLive ;-)