CGI Programming by Collin Forbes
  Dealing with plagues of syntax errors   Updated: Sun, 24 Sep 2000  
[*] Introduction
[-] Troubleshooting
 [*] Missing Modules
 [*] Old Module Versions
 [*] Incompatible Version
 [*] Syntax Errors
[+] Improbable Postcards
[+] Calendar of Events
[+] Expanding Menus
[+] Meme Vector
[+] Cascading Forms
[+] Insert Tab into Slot
[+] Random Redirection
[+] Simple Selection
[+] About Collin Forbes
[+] Works in Progress...

When syntax errors show up:

The error message below tells you the program had an error. Sometimes a line number and error message will be given which will help you to further diagnose the problem.

Software error:
Execution of ./calendar.cgi aborted due to compilation errors.

Check the end of your server's error log for additional messages or run perl -wc filename from the command line to see what is causing the problem. It's often a missing (or mismatched) quote character or a missing semicolon, but could be an incompatibility caused by an earlier version of Perl.