in reply to Can't create DOS line endings under Unix in heredocs
$x = <<MULTI; foo bar MULTI $x =~ s/\n/\r\n/g; print OUT $x; [download]