#!/perl/bin/perl -w use strict; use CGI::Carp qw(fatalsToBrowser); use CGI qw(-oldstyle_urls :standard); use ErrorModule; my $empty; # case 1 my $test = "test"; print header(); print "
This is a test
"; print $test; print $empty; print "
"; print ""; &app_error("test.txt","File Name that created this error: test_mod.pl"); print "after" # left ; out to fail and to log error by ErrorModule