in reply to Can't create DOS line endings under Unix in heredocs

Heres a hack, $\="\r"; throw that at the top of yer perl program and presto, it works!