Gossamer Forum
Home : Products : Others : Fileman :

Whack load of errors

Quote Reply
Whack load of errors
well, in a futile attempt, I'm trying to install this script, but am having some difficulties..
I get this perverbial "500 server error"
so I checked it out and I get these errors:

% perl -c fileman.cgi
syntax error in file fileman.cgi at line 36, next 2 tokens "use vars"
syntax error in file fileman.cgi at line 38, next 2 tokens "new CGI"
syntax error in file fileman.cgi at line 43, next 2 tokens "=>"
syntax error in file fileman.cgi at line 61, next 2 tokens "=>"
syntax error in file fileman.cgi at line 84, next 2 tokens "->"
syntax error in file fileman.cgi at line 99, next 2 tokens "$error and"
syntax error in file fileman.cgi at line 100, next 2 tokens "$error and"
syntax error in file fileman.cgi at line 101, next 2 tokens "$error and"
syntax error in file fileman.cgi at line 102, next 2 tokens "$error and"
syntax error in file fileman.cgi at line 103, next 2 tokens "$error and"
fileman.cgi has too many errors.

now, the problem probably lies with this..
the server I'm doing this on runs perl 4 by default...but by changing
#!/usr/local/bin/perl to
#!/usr/local/bin/perl5 it is supposed to be in perl 5, if that could be causing the error here then lend me a hand, otherwise...point and laugh
Quote Reply
Re: Whack load of errors In reply to
nevermind, fixed it:-)