in reply to 500 server error with no explenation
Sorry I posted this part before I saw the first reply (must of replied as I was writing).
Well the first thing I noticed was
!/usr/bin/perl
that should read
#!/usr/bin/perl
Try using strict as well,
UPDATE: I found the problem, I switched it to
use CGI ':standard';
and it seems to run fine from the command prompt, with the exception of not finding the files,
Good Luck