in reply to Re: Trubs with HERE docs
in thread Trubs with HERE docs

Howdy!

...although if you want to interpolate variables into your here document, you need to use " instead of ' around your termination string...

In other words:

print <<FOO; woof woof $woof FOO
is equivalent to
print <<"FOO"; woof woof $woof FOO
not
print <<'FOO'; woof woof $woof FOO
I've wrestled that alligator myself (aesthetic obsessions and all). At this point, I've just given up on having the here terminator indented...

yours,
Michael