in reply to Re: printing \n to a file
in thread printing \n to a file
Surely Perl should take care of those translations for you. You don't have to change the line end characters in a script when you move it from Unix to Windows (or vice versa) do you?
Sound to me like you're writing the file on a Unix file system and then transfering it to Windows using a binary file transfer mechanism. This article may shed a little more light on the problem.
Otherwise, as chromatic says, give us more details where and how you're reading and writng these files and we can probably be more help.
--
"Perl make the fun jobs fun
and the boring jobs bearable" - me
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: Re: printing \n to a file
by swiftone (Curate) on Oct 16, 2000 at 16:38 UTC | |
by tye (Sage) on Oct 16, 2000 at 18:27 UTC | |
by Fastolfe (Vicar) on Oct 17, 2000 at 01:03 UTC | |
by tye (Sage) on Oct 17, 2000 at 01:19 UTC |