#!/usr/bin/perl use CGI; use CGI::Carp(fatalsToBrowser); $cgi = new CGI; print $cgi->header(); print "About to die from a fatal error of some kind<br>\n"; die "Here's a made up error"; print "Did you get the message";