Need Help!!

"System" <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <014401c2ee22$9b5edf60$1a01a8c0@vishal>
Hello,

I have a perl Script called auction.pl which has got some Syntax errors. Any
help would be appreciated.
Here is some portion of my script.

######auctions.pl#########
<head>
<meta http-equiv="Content-type" content="text/html; charset=windows-1252">
</head>
<PRE>#!/usr/bin/perl --
use vars qw(%config %category %form %supercat);
BEGIN { open (STDERR, &quot;/path/to/cgi-bin/data/error.txt&quot;); }
#use strict;
#############################################

When i execute it from the prompt here it gives me..
#### Errors ######
Bareword found where operator expected at auction.pl line 2, near
""Content-type" content"
        (Missing operator before content?)
Bareword found where operator expected at auction.pl line 6, near
"/home/auction"
        (Missing operator before auction?)
Operator or semicolon missing before &quot at auction.pl line 6.
Ambiguous use of & resolved as operator & at auction.pl line 6.
syntax error at auction.pl line 2, near ""Content-type" content"
"use" not allowed in expression at auction.pl line 5, at end of line
syntax error at auction.pl line 6, near "&quot;"
syntax error at auction.pl line 6, near "/home/auction"
Execution of auction.pl aborted due to compilation errors.
###################

I googled around but the reply was that the apache setup is not correct for
.pl files. I have other .pl files which works fine.

If anyone can help me pls.

Regards,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.