in reply to RE: RE: Re: printing \n to a file
in thread printing \n to a file
No, you don't. Unless you do binmode(FILEHANDLE), every "\n" you write to FILEHANDLE will be turned (by the C run-time library) into "\r\n" before it reaches the file. If you want to write a file that contains "\n" without the "\r", then have to use bindmode.
- tye (but my friends call me "Tye")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: (tye)Re: printing \n to a file
by Fastolfe (Vicar) on Oct 17, 2000 at 01:03 UTC | |
by tye (Sage) on Oct 17, 2000 at 01:19 UTC |