Getting an internal server error after editing Perl script

: I had someone edit code on a perl script for a web program I have. When he gave me the admin.cgi file I replaced the old one with the one he gave me and tried it but I got an internal server error. Can someone help me with finding out why it is failing? The guy is gone for the weekend and I want to try to get it running. He says everything is fine on his side. He even sent me a screenshot.
He is in India so I was thinking maybe it is some kind of ISO issue with the file or maybe a server unix/windows incompatibility?

What do you think?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

can you paste some of the code(or all of it) to debug maybe?
having in mind that its an admin.cgi  some parts should stay hidden in my opinion.
do you know what your programmer changed?
maybe paste that part only.
please feedback
what web server are you using?  Is it unix or windows?  If unix, is the permissions on the script right?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Was the script edited on Windows and uploaded to a Unix/Linux server/

If so, it will most likely have Windows EOL characters.  
Introduction to R

R is considered the predominant language for data scientist and statisticians. Learn how to use R for your own data science projects.

DantechITAuthor Commented:
He said I might need to use dos2unix but it didn't work.
DantechITAuthor Commented:
Not sure what server it is, it's a hosted account. I'll find out.
DantechITAuthor Commented:
Permissions issue

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Scripting Languages

From novice to tech pro — start learning today.