** CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. **
That is just a generic server error message which could be caused by just about anything. Try looking in the server's error logs to see if a more detailed error message was recorded. Failing that, if you have shell access you can try running the script from the command line (telnet, SSH, etc.) to see what error(s) Perl reports.
Dan O.
------------------