Help for this page
BEGIN { use CGI::Carp qw( carpout ); ... or die "Unable to open $logfile: $!\n"; carpout $logfh; }