Home: Perl Programming Help: Intermediate:
line feed, carraige return porblems



oueftete
Deleted

Jul 19, 2000, 4:36 AM


Views: 640
line feed, carraige return porblems

i am having lots of problems with line feed and carraige returns. At least thats what i think it is. basically i can use other peoples scripts and i can manipulate them, as long as i dont press enter. this makes it impossible to write my own scripts. help, what can i do to solve this.
i use either wordpad or textpad.
ouef


japhy
Enthusiast

Jul 19, 2000, 5:17 AM


Views: 640
Re: line feed, carraige return porblems

It sounds like your problem is that you are FTPing the files from your computer to the server where they are to be executed in binary format, instead of ASCII format.

------------------
Jeff "japhy" Pinyan -- accomplished author, consultant, hacker, and teacher



oueftete
Deleted

Jul 19, 2000, 11:02 AM


Views: 640
Re: line feed, carraige return porblems

so you're saying that .pl and .cgi files are should be sent in binary mode. or are you saying that they should be saved in a different format.


japhy
Enthusiast

Jul 19, 2000, 11:08 AM


Views: 640
Re: line feed, carraige return porblems

You should transfer them in ASCII format. All text files should be FTPed in ASCII.

------------------
Jeff "japhy" Pinyan -- accomplished author, consultant, hacker, and teacher



oueftete
Deleted

Jul 19, 2000, 11:22 AM


Views: 640
Re: line feed, carraige return porblems

so what are you actually saying i should do? i always transmitt them in ascii format.