Why do I get server errors when uploading a perl script?

I am trying to add items to a perl script form which processes items to be sent to a shopping cart. I modified the script, copying every line exactly & added the correct item numbers.  But I keep getting error messages.

 When I copy the script, delete a blank line and immediately add the blank line back in (just to check out what was going on,,,this was the smallest change I could make & fix easily), then upload it, the script, even though it is now back in it's exact original form, gives me an error message when I try to process the data.  

I am running Windows 95 and believe this may have been written on a Unix machine.  My server is running Apache over Linux.  I am not familiar enough to know more than this.  

It is imperative that I get this script expanded as soon as possible.  What can I do to make it work?  As far as I can tell, there is nothing else that would cause it to fail.
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.

pdevoreAuthor Commented:
Edited text of question.
Do the following:

1. Check the file permissions. Are they the same before you edit the file and after it.

2. The difference between Unix/Linux and Windows text files families lies in the new line symbol. The new line symbol under Unix is \n\r and it's \n under Windows. Open your file with FAR and then with NotePad and you'll see the difference.

3. Look at the error messages. I think they're informative. What do the error messages say?

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
What are the error messages?
How do you copy and upload the script?
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

From novice to tech pro — start learning today.