Since you put the EOM in single quotes, the here doc gets treated like a single quoted string (no interpolation). If you put the EOM in double quotes, it gets treated like a double quoted string.
Further Explaination: The quotes you use around EOM determine how it will treat the text.
In reply to Re: Evaluating variables in here documents
by Paladin
in thread Evaluating variables in here documents
by Gerard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |