$line =~ tr/\x0a\x0d//d; [download]
In reply to Re^3: Remove new line characters by graff in thread Remove new line characters by simatics