in reply to Re^2: Removing characters
in thread SOLVED Removing characters
So you need to use the modified string after the tr. And don't try to stuff it all in one line ;-)my $str = "ab c,d.e"; $str =~ tr/ ,.//; # here $str is "abcde"
(Update: fixed match operator)
|
|---|