It is quite possible that you are suffering from the end of line differences which unix and ms-dos/win systems have. I don't know what your remote host is, but if it's a unix system, then it expects the EOL/newline character to be LF aka \n (^J, 0x0a). MS-DOS and its progeny use CRLF aka \r\n (^M^J, 0x0d0a) to signify end of line. I use my editor to remove extra CRs (^M) from files I've brought over from PCs. Perl can do that too, but it's just simpler to use a good editor.
In reply to Re: Using PC Word to write text for PERL
by virtualsue
in thread Using PC Word to write text for PERL
by jeffpflueger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |