$mystring = ~s/\n/\r\n/g; [download]
In reply to RE: Unix \n vs. DOS \n by BigJoe in thread Unix \n vs. DOS \n by greenhorn