The input specified in the here document
construct described by Baron_Saturday
is treated as a double-quoted string: variable
s are expanded. So the (Bourne shell
echo $hi | mail `whoami`
mail `whoami` <<ZZ
will actually give you two identical mail messages, with a body of
Perl has this, too, and adds a variant that takes the input literally.