#!/usr/bin/perl -w ensure all fatals go to browser during debugging and setup comment these 3 lines out on production code for security $|=1; print "Content-type: text/html\n\n"; use CGI::Carp('fatalsToBrowser');