in reply to
RE: CHOMP VS. CHOP
in thread
CHOMP VS. CHOP
That would change all your ^M^J into ^J^J i.e. every newline has just become two newlines. Fine if that's what you're trying to achieve, if not surely
s/^M//g;
[download]
would be better.
Nuance
Comment on
RE: RE: CHOMP VS. CHOP
Download
Code
In Section
Seekers of Perl Wisdom