Or maybe you could write a simple sub that catches any anomolies at run time and 
produces an Error message of your choosing. There is a good example of this in Chap. 5 
of CGI Programming with Perl. You can also find the example from the chapter here:

http://examples.oreilly.com/cgi2/

Good Luck,
Mark Bergeron

-----Original Message-----
From: "Geraint Jones"<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Date: Tue Jun 12 08:23:21 PDT 2001
Subject: Re: error message

>Try putting the following at the beginning of your script, it helps a lot 
>with debugging CGI:
>
>use CGI::Carp qw/fatalsToBrowser/;
>
>Instead of getting the usual Internal Server error, it displays the error in 
>your browser. Of course, make sure you have CGI first.

/~_. _ | _ _  _  _ 
\_/|(_||| | |(_)| |
     _|
___________________________________________________
GO.com Mail                                    
Get Your Free, Private E-mail at http://mail.go.com


Reply via email to