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)
In reply to Re: inserting varibles into a string
by extremely
in thread inserting varibles into a string
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |