in reply to Using PC Word to write text for PERL

Neither of those editors are even close to being a functional programming editor. I strongly suggest you get one and find out how much better your life can be. See Outside Links for lots of suggestions.

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.

  • Comment on Re: Using PC Word to write text for PERL