Try:

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

Perfect.

Thanks,
John

--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to