chomp should have options to define what an EOL is.

Many times, on Solaris, I could not use chomp because I had to use

=~ s/[\n\r ]$//

on files that came from NT or even from MS-oriented unix editors.



Reply via email to