in reply to Re^2: How to use a variable in tr///in thread How to use a variable in tr///
my $tr = eval "sub { tr/\Q$oldlist\E/\Q$newlist\E/ }" or die $@; &$tr for $things, $that, $i, $want, $to, $transliterate; [download]