Not that I am an expert on this PERL thing, but in my experience a server error is simply a generic error message the web server generates when a script craps out.
What I would do is check the apache logs and see exactly what the error could be.
By the way, did you try the script from the console?
Comment on Re: How do post to a URL from a form and display the results in a browser?