Skip to main content.
home | support | download

Back to List Archive

Re: Jswishi Errors

From: Bill Moseley <moseley(at)>
Date: Thu Dec 02 1999 - 16:40:27 GMT
Without seeing your code it's hard to know.  But it says there's an error
on line 14.  So I'd look around there:

My guess is you messed up line 12 when you adjusted it yourself.

12  $template_file = "/data/www/jswishi/example.html";
14  use CGI qw(:standard);

At 08:27 AM 12/2/99 -0800, New Tecumseth Public Library wrote:
>[Wed Dec  1 16:31:26 1999] access to
>/usr/local/etc/httpd/htdocs.newtecumseth/jswishi/search.cgi failed for
>, reason: Premature end of script headers "use"
>not allowed in expression at 
>/usr/local/etc/httpd/htdocs.newtecumseth/jswishi/search.cgi line 14, at
>end of line
>syntax error at
>/usr/local/etc/httpd/htdocs.newtecumseth/jswishi/search.cgi line 14,
>near "use CGI "
>BEGIN not safe after errors--compilation aborted at
>/usr/local/etc/httpd/htdocs.newtecumseth/jswishi/search.cgi line 580.
>Being a novice, I don't know exactly what's wrong.  I'd really
>appreciate it if anyone could offer a solution to this
>Jeff Longland
>New Tecumseth Public Library

Bill Moseley
Received on Thu Dec 2 08:42:14 1999