Gossamer Forum
Home : General : Perl Programming :

"Maybe you didnīt strip carriage returns after a network transfer?"

Quote Reply
"Maybe you didnīt strip carriage returns after a network transfer?"
Does anybody knows what is this error?
I am getting this when validating links in Links Manager 2.0
Quote Reply
Re: "Maybe you didnīt strip carriage returns after a network transfer?" In reply to
It means that one of the scripts was not uploaded in ASCII. Uploading in ASCII cause the carriage returns to be stripped from the end of the line.

I hope this helps.
Quote Reply
Re: "Maybe you didnīt strip carriage returns after a network transfer?" In reply to
It's most likely that you uploaded a file or files in binary mode. Perl files have to be uploaded in ascii mode.

Cheers,
adam
Quote Reply
Re: "Maybe you didnīt strip carriage returns after a network transfer?" In reply to
Beat me by a minute Bobsie!

Shame! Smile

adam
Quote Reply
Re: "Maybe you didnīt strip carriage returns after a network transfer?" In reply to
   Yeah, I know that!
Itīs a friend that donīt speaak english, thatīs why I am asking, and he said he is sure he sent it in ASCII!!!
Is there any other possible error?
Quote Reply
Re: "Maybe you didnīt strip carriage returns after a network transfer?" In reply to
You have got Windows linefeeds on one of your files. Check the .cgi file and all the required files like *.def and *.cfg.

Did you hear? Perl 5.004_05:

Quote:
MORE SCRIPT PORTABILITY

* Scripts with CR LF line endings (a la MS-DOS/Windows) work on Unix.

Yipee!!

Alex