http://www.perlmonks.org?node_id=989492

CosmoNo1 has asked for the wisdom of the Perl Monks concerning the following question:

First of all, I have never dealt with perl before. (That probably explains a lot to start with).
I am editing my friend's website and have edited a .pl file, changing the main image file to have a link attached to it.
I opened the file in dreamweaver and saved it as 'filename'.pl then uploaded it to the server.
I then refreshed the page and got a 500 Internal Server Error

Obviously at this stage I panic. I have broken the damn thing. I upload the original file to replace it but it still shows the 500 error.

These are the details I am now getting:

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@merryhillvancentre.co.uk and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_qos/9.68 Server at www.merryhillvancentre.co.uk Port 80


If you could advise me what I have done wrong (apart from touching it in the first place!!) I will promise to not touch the damn thing again, or learn more so I don't break it.!!

I am at your mercy (as is that particular website page...)

Dave