Help for this page

Select Code to Download


  1. or download this
    use CGI::Carp qw(fatalsToBrowser); # Remove for production code
    
  2. or download this
    sub showError {
        my $err = shift;
    ...
        print end_html();
        exit 1;
    }
    
  3. or download this
    eval {
        #troublesome stuff here
    };
    
    ShowError ($@) if $@;