in reply to How to eval a tr/// (was: Transliteration!!!)

The idiom meant is:

eval "\$var =~ tr/$pattern1/$pattern2/;";

The double quotes allow the patterns to be interpolated before the expression is compiled.

After Compline,
Zaxo