Also, if I try to execute the script from the linux prompt, I get bad interpreter....no such file or directory.
Any comments, pointers into a specific direction to look at would greatly be appreciated.
Okay if its saying that sorta thing from the command line, it rekons it definately can't find the Perl command.
One test would be to run the script using "perl script.pl" or whatever, and see if that runs.. if that doesn't then there is a fault with the script possibly (or its looking for something in the middled of execution that is causing this). If using "perl script.pl" works, then use "which perl" to give you the path to the Perl its using, and use that in the top of the script (I actually have 3 versions installed on mine so it is sometimes possible to have the wrong one )
Once you have it working on the command line, then worry about the apache execution, as the error via apache you are getting if the "bad interpreter" message going out before the Content-type header which is an error. Due to this fact, once the command line is alright, you'll prolly find it'll work via Apache (unless you are using mod_perl which has other dependancies, but thats a totally different matter )