"M" is the thirteenth letter of the alphabet. ASCII 13 (^M) is the 
carriage return. If you are using binary transfer on ftp, then you 
will get these and any other control characters imbedded in your 
file. Set your ftp to ASCII and try again. Perl is particulary 
sensitive to this. HTML doesn't care, while binary is needed for 
images and machine code. 

On 12 Feb 2001, at 23:04, John W Ford wrote:

> I can't figure out why my windows machine leaves "^M" character at the
> end of each line of code. This causes the file to be messed up when I
> put it on the Linux server.
> 
> It makes my perl interpreter look for a file named ^M after the very
> first line.
> 
> #!/usr/sbin/perl
> 
> also... what else I can't figure out is why this special character is
> sometimes hidden and sometimes visible in my Emacs program in Linux...
> this is the program I used in which I found the problem.
> 
> anybody know?
> 
> John Ford
> 


John Jensen
520 Goshawk Court
Bakersfield, CA 93309
661-833-2858

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to