I've written a perl script(checkform.pl) to check the entries of a -web browser- form and process it in a certain way. My code was working perfectly till i added a perlpod section at the end of it. Now I am getting the following message from the browser: "CGI failed Please inform the author. More information on CGI support can be found in the FAQ. Look at the log files in /var/apache for any error messages from the program"
Missing right bracket at /scripts/checkform.pl line 13, at end of line
syntax error at /scripts/mthomas/checkform.pl line 13, at EOF
perl -c checkform.pl returns that my syntax is ok. Once i removed the perlpod section, the code worked fine again! really weird