I'm having a problem using CGI.pm on my webserver. I can run the script from
the command line no problem, but when I try running it in the browser I get
a 500 error message. This is the CGI.pm script:
#!usr/bin/perl
#File: time.pl
use CGI ':standard';
$current_time = localtime;
print header,
start_html('A Virtual Clock'),
h1('A Virtual Clock'),
"The current time is $current_time.",
hr,
end_html;
I took it directly out of the CGI.pm book by Lincoln Stein. Any thoughts?
I'm trying to determine if my provider's web server has a problem or if my
script is wrong.
--
Brad Rice
[EMAIL PROTECTED]