http://www.perlmonks.org?node_id=255225


in reply to Re: The plural of "athlete's foot" is...
in thread The plural of "athlete's foot" is...

Yes it is. You can use here documents anywhere a string is legal, in fact, you can even chain them:
print $cond ? << 'HERE' : << 'DOC'; foo bar HERE baz quux DOC
Although that gets unreadable real quick like.

Makeshifts last the longest.