Single quotes do not interpolate.
In the $y example, you've got unbalanced quotes. The opener is a single quote, the end one is double. I'll bet you've mistyped the opening quote as single instead of double when you wrote this post.
In reply to Re: Why is this string only PARTIALLY interpolated?
by stevieb
in thread Why is this string only PARTIALLY interpolated?
by misterperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |