in reply to Re: Re: Find duplicate chars in a string
in thread Find duplicate chars in a string

eval "tr/$alpha//cd";
That can be evil if $alpha contains a slash or is untrusted. To do that tr right requires some really careful thinking.

That's why I conveniently ignored all but the basic specification. {grin}

-- Randal L. Schwartz, Perl hacker