You can debug you scripts and find out what the problem is by telnetting into your machine and change to the directory your script is in and running this from the command line: /usr/bin/perl -c scriptname.cgi (hit enter on your keyboard)
you might have to substitute your path to perl if the above is not you perl path for instance on my server you even have to name the perl version or my scripts won't run. I have to give my path as /usr/bin/perl5.00404
------------------
you might have to substitute your path to perl if the above is not you perl path for instance on my server you even have to name the perl version or my scripts won't run. I have to give my path as /usr/bin/perl5.00404
------------------