Re: Carriage returns
[email protected] (Matthew Somerville) Fri, 22 Sep 2000 11:42:03 +0100
| Newsgroups | perl.riscos |
|---|---|
| Message-ID | <4A01FB1662%[email protected]> |
On 22 Sep, you wrote: > Greetings from Down Under, Ditto (well, from me to you...) :-) > When I print a line to a file on the server I cannot avoid sending an > unwanted carriage return even if I specifically use only a linefeed in the > print instruction as in > > print RECORD "What a nuisance. \x0a"; > > Is there any way of instructing perl to stop this nonsense? This doesn't happen on my computer, when printing a line to a file on my hard disc (I don't have a server to test it on). If I do the command you give above I get 'What a nuisance.' followed by a line feed. No carriage return. Sorry I can't be of any actual help... :) ATB, Matthew -- [email protected]