Is there a way to use variables in a translation? I'm looking for a way to use, for example, $x = "abc" and $y = "ABC" so something like

y/$x/$y/;

behave like

y/[abc]/[ABC]/;


Thanks,
John

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to