I am having the hardest time with certain CGI/Perl scripts on my server. Some will run, and some return a 500 error. Right now I need to get
this script to work, but it returns a 500 error, while a script like
this one works fine. I checked permissions on the one I cannot get working, and made sure it was uploaded in ASCII mode, yet it still refuses to work properly. Could someone look at the 2 scripts I have provided and see if maybe they can figure out what might be causing this problem? I am guessing it has to do with the server configuration, because I have had this script, along with others I have tried work on other servers. Thank you. I would greatly appreciate any help.