> -----Original Message-----
> From: C.R. [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, November 08, 2007 12:34
> To: beginners@perl.org
> Subject: Writing DOS CRLF via Unix Perl
> 
> I run a script on unix Perl to write a text file. By default, 
> when Perl 
> writes "\n" it writes a line ending sequence which is native to the 
> current OS. How do I force this particular script to always write DOS 
> CRLF line endings? 
        $/ is the input rcd separator
        $\ is the output rcd separator
        You can set as want them to be if other than the std defaults
are desired for a particular processing.
          If you have any problems or questions, please let me know.

     Thanks.

  Wags ;)
David R Wagner
Senior Programmer Analyst
FedEx Freight
1.408.323.4225x2224 TEL
1.408.323.4449           FAX
http://fedex.com/us 

> 
> Thanks.
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> http://learn.perl.org/
> 
> 
> 

**********************************************************************
This message contains information that is confidential and proprietary to FedEx 
Freight or its affiliates.  It is intended only for the recipient named and for 
the express  purpose(s) described therein.  Any other use is prohibited.
**********************************************************************


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to