in reply to Re^2: Removing characters
in thread SOLVED Removing characters

You can use tr, but you have to discard its return value.
my $str = "ab c,d.e"; $str =~ tr/ ,.//; # here $str is "abcde"
So you need to use the modified string after the tr. And don't try to stuff it all in one line ;-)

(Update: fixed match operator)