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