in reply to Re^2: Scurbbing a stringin thread Scrubbing a string
It just struck me that you can avoid having to use the quotemeta function by using metacharacter form:
eval "\$ex =~ tr[\Q$ctl\E][]cd;"; [download]