in reply to Re: Pattern Matching Hell.
in thread Pattern Matching Hell.
tr is for replacing single characters with other single characters (or, maybe, deleting characters). The substitution operator s/// is much more likely to be useful here.
--
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
|
|---|