That's a bit obvious :)
Erm... what's the obvious part? That I don't do Windows or that it should be 0d0a? Or both?
He asked for the "native newline encoding of the OS"... It doesn't matter what writes it. Maybe it's because I don't do Windows but do have to deal the bastardized text files that come from Windows that the distinction is meaningless. I know I don't care whether it is Perl or the run time writing the characters. That they are there is what matters.
"My two cents aren't worth a dime.";