Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Need help with syntax error in CGI script

by beable (Friar)
on Aug 02, 2004 at 01:01 UTC ( [id://379159] : note . print w/replies, xml ) Need Help??


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.