On Dec 13, 2006, at 7:10 PM, Daniel Berger wrote:

> If you still really want to do this, you can set $/ (record separator)

That would be $\, the _output_ record separator.

> to "\r\n".

But that's a valid solution only if you set binmode on the  
filehandle, otherwise you'll get a double \r on Windows.

-- fxn