>I'm sorry I typed 404 in the above post instead of 505. Hi Mao...
I'm hoping you mean a 500 error, and not a 505 as I don't know what a 505 is.
500 error:
Make sure files were uploaded in text/ascii mode ONLY
Check path to perl to make sure it matches your server
Recheck permissions
Make sure your server has these perl modules (you'll need to check with your host):
lwp modules
server misconfig: Do you have any other perl/cgi scripts running correctly?