in reply to File Writing and newline
and then print the string. This worked in my tests but then I stink at regexen, so, if this is not the best (correct) way to do it I'd like to know for future reference. BTW, if I were you I'd also pinpoint the offending data source, especially if it is used by other programs.$string_to_print =~ s/\r|\n//g;
--Jim
|
|---|