Both posters:
1. Sure you have permissions set to 0755?
2. If you wrote the code on a Windows machine, make sure you uploaded in ASCII (text) mode and that the software (ie Notepad, Notepad++ ) you used to write the script does not add extra characters.
3. Don't forget to print the header before any content:
print "Content-type: text/html\n\n";
4. Is the script in cgi-bin ?
5. Although it does not help with most 500 errors, I always add:
use CGI::Carp qw(fatalsToBrowser);
which displays most other errors.
getrich2 -- you are on lotus and perl is working on lotus.