I did everything that was suggested here and in referenced entries. I compiled the code and it's syntax was fine. I uploaded a test.cgi to check if perl was running and it worked without problem. I'm running on Windows with an Apache server if that makes a difference.