in reply to inserting varibles into a string
Did you cut'n'paste this code or retype it for us? The second line only fixes one of the two calls to the same variable yet you present that as a working line?
Can you get us more complete code? something isn't right here.
--
$you = new YOU;
honk() if $you->love(perl)
|
|---|