Gossamer Forum
Quote Reply
Syntax Error
Anyone have a clue what to do about this:

syntax error in file links.cfg at line 153, next 2 tokens "my $date "
Illegal modulus of constant zero in file links.cfg at line 154, next 2 tokens "months="
syntax error in file links.cfg at line 154, next 2 tokens "map {"
syntax error in file links.cfg at line 154, next 2 tokens "qw!"
links.cfg had compilation errors

I've installed many CGI scripts, but admittedly know nothing about Perl. Smile I'm overlooking something simple in the configuration file and cannot access Admin.cgi for the 500 errors.

Any help appreciated.
Quote Reply
Re: Syntax Error In reply to
It looks like your scripts are pointing at Perl v4 instead of Perl v5 (thus, the token errors).
Quote Reply
Re: Syntax Error In reply to
Thanks for the response, Bobsie. In fact, several versions of Perl are installed on our server. Other scripts seem to find v.5 on their own. But I'll go back and specify 5 and see if that does the trick.