Try:

eval "\$test =~ y/$x/$y/;";

Perfect.

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