> #! /usr/bin/perl
>
You should only have one shebang line, the on with the right path.
> #!/usr/local/bin/perl
> # hello.pl - My first CGI program
>
> print "Content-Type: text/html\n\n";
> # Note there is a newline between
> # this header and Data
>
> # Simple HTML code follows
>
> print "
On Fri, 25 Jul 2003 17:59:56 +1000, [EMAIL PROTECTED] (Unknown Sender)
wrote:
>I am trying to run a perl cgi script for the first time... under linux
>redhat8. my apache works fine. localhost gives me the test page. I have
>this script (very usual)
>
>#! /usr/bin/perl
>
>#!/usr/local/bin/perl
>#