This is a strnage one.
I use the form building tool from my web host to build an email form and it saves my formmail.pl perl script file in the CGI-BIN directory, and the form works well.
So now I use WSFTP to download the formmail.pl file to my PC, and using Notepad just tested adding a word of text to my "click here" statement at the bottom of the form.
When I upload the formmail.pl file back up to the server and test the form, I get Intenral Error 500.
So I re-gen the formmail.pl file again using my web host tool, and it gives me a clean slate and the form works again.
So I thought maybe it was my editing of the formamil.pl that caused a problem, so I tried just FTPing the newly regenerated formamil.pl file untouched from the server to my PC and back again, and just that transfer process alone seems to do something wrong to the perl script file, and break it somehow but I don't know what.
I have WSFTP setup to "Auto" for the file type when you transfer files. Should I be forcing ASCII type for the transfer, or does it not matter?