Sorry, I was having a bad search day.
Found the following which works.
#!/usr/bin/perl
use CGI::Carp qw( fatalsToBrowser );
print "Content-type: text/html\n\n";
print "<html><head><title>Test Page</title></head><body>";
print "Hello World!"
print "</body></html>";
Thank You!
On Dec 20, 2004, at 4:23 PM, Albert Kaltenbaeck wrote:
I am converting MacPerl scripts to be used under OSX and having good
success.
When I have a script error, I am directed to a web page
"http://foo.example.com/cgi-bin/tester" and a message that it can't
find that site.
I have learned to leave the OSX server web error log open and the
message of the problem is indicated there.
Is there a way to get a popup of some kind, instead of the redirect to
"http://foo.example.com/cgi-bin/tester" which displays the error
directly?
The other works but I got to believe there is an easier way.
Any books or websites related to setting-up/customizing perl?
Albert
Albert Kaltenbaeck
15324 West 144th Terrace
Olathe, Kansas 66062
(913) 780-3835 Home
(913) 206-4579 Cell