in reply to
Removing Control Characters
The many
s/\r//g
solutions presented here work, but the preferred idiom (for speed), is
tr/\r//d
.
--
Randal L. Schwartz, Perl hacker
Comment on
Re: Removing Control Characters
In Section
Seekers of Perl Wisdom