Re: new line using print

2010-10-14 Thread Shawn H Corey
On 10-10-13 04:16 PM, Amish Rughoonundon wrote: Hi, I would like to print a file under windows using perl but with the end of line character be only 0x0A and not 0x0D followed by 0x0A. Is there a way to set $\ to 0x0A so that every time I use print, it only prints 0x0A and NOT 0x0D followed by

new line using print

2010-10-14 Thread Amish Rughoonundon
Hi, I would like to print a file under windows using perl but with the end of line character be only 0x0A and not 0x0D followed by 0x0A. Is there a way to set $\ to 0x0A so that every time I use print, it only prints 0x0A and NOT 0x0D followed by 0x0A. Any other method would also be welcomed. Than