This could possibly be because you created and / or published the script yourself and did not set the permissions. From the telnet/ssh shell, you will need to type the command chmod 755 file.cgi and replace file.cgi with the name of the CGI file you are trying to publish. The other way to do this is to use FTP and set the permissions on the file to be executable. Something else to keep in mind is that you can test your script by running it right from the telnet/ssh shell by going in to the directory where the script is located and typing ./file.cgi again replacing file.cgi with the name of the file you are trying to troubleshoot.
You also have the ability to check the syntax of a Perl script via the Fileman utility in your Account Manager. To get to fileman, log in to your account manager and click the "Site Tools" tab on the left hand menu. Next, click the "Fileman" link. This will open up a new window with the Fileman utility which will display your account's home directory.
Here is a brief step-by-step of how to use its Perl syntax checker:
1. Use the File / Directory structure to locate the Perl script you wish to check.
2. Once you have found the script, check the box next to it.
3. Click the Perl link in the "Commands" menu at the bottom.
4. Underneath the "Commands" menu, you will see a text input box next to the word "Command:". Use this box to pass the script any additional commands which may be required (this is optional).
5. Click the button that says "Perl" and Fileman will begin processing the script.
6. From here you may use the messages displayed to assist you in troubleshooting. Fileman will also tell you if there are no syntax errors in your script.