in reply to Need help with syntax error in CGI script
The error on line 13 is caused by using If instead of if. If is a syntax error, because keywords are normally in lowercase, so change it to if.
Also, we'd need to see what's in config.pl, because I suspect there are variables in there such as $doc_root which are necessary for the script to run.
|
---|
In Section
Seekers of Perl Wisdom