I'm trying to use perl on my web server (to convert a function from perl to PHP).
Now, there is a working perl webapp on the server that's running fine, so perl *is* installed and working.
However, when I try to create my own "hello world" perl script, I keep getting a server error 500.
I've uploaded a file named perl.pl into a cgi-bin under a www/mydomain.com/ folder.
I've chmoded the perl.pl file to 755.
Here's the contents of the perl.pl file:
Am I missing something obvious?