in reply to I'm getting a 500 Internal Server Error - how can I make this work?

Run your script with the command perl -wc script.cgi. This forces a compile with warnings. The warnings this script produces is:
syntax error at deleteme.pl line 9, near "= ;"

I'm not going to offer any more help because you should easily be able to diagnose the issue for yourself from here.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.