in reply to Re: Trubs with HERE docs
in thread Trubs with HERE docs
...although if you want to interpolate variables into your here document, you need to use " instead of ' around your termination string...
In other words:
is equivalent toprint <<FOO; woof woof $woof FOO
notprint <<"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...print <<'FOO'; woof woof $woof FOO
yours,
Michael
|
|---|