While the
perlfunc:tr operator may not handle localisation character sets, it does have the advantage over
substitution of speed as it doesn't perform interpolation or use the regex engine. As such, the choice between functions really comes down to the data being manipulated and whether character and locale classes will come into effect.
The transliteration solution was provided more so for proof of TMTOWTDI, YMMV.