home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / perl / 5653 < prev    next >
Encoding:
Text File  |  1992-09-01  |  1.0 KB  |  34 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!fmrco!fmrco!asherman
  3. From: asherman@laser.fmrco.com (Aaron Sherman)
  4. Subject: Re: how to 'write' cr-nl
  5. In-Reply-To: watson@carssdf.UUCP's message of 31 Aug 92 16:35:41 GMT
  6. Message-ID: <ASHERMAN.92Sep1091415@laser.fmrco.com>
  7. Sender: news@fmrco.uucp
  8. Reply-To: asherman@fmrco.COM
  9. Organization: I-Kinetics, 19 Bishop-Allen Dr., Cambridge, MA
  10. References: <399@carssdf.UUCP>
  11. Date: Tue, 1 Sep 1992 14:14:15 GMT
  12. Lines: 20
  13.  
  14.  
  15. >>>>> watson@carssdf.UUCP (- Self Empl. Sys.Integrator) said:
  16.  
  17. watson> Is there an easy way to write CR-NL at the end of the lines
  18. watson> instead of just "\n".  Sort of like  $\ = "\r\n", except make
  19. watson> it apply to the write statement?
  20.  
  21. What's wrong with:
  22.  
  23. format STDOUT =
  24. @<<<<<<<<<<<<<<<<<< Test: @>>>>>>>>>>>> ^M
  25. .
  26.  
  27. Does this do something that I'm not expecting?
  28.  
  29. --
  30. --------
  31. Disclaimer: I am solely responsible for the content of this message.
  32. The views expressed here may not be the views of I-Kinetics, Fidelity,
  33. any of the Fidelity-owned corporations or my mother.
  34.