I don't think you can, especially not with the same delimiter for them all.
Perl has support for combining here documents but you still can't nest them there, only serialize.
Code:
perl -e 'print <<HERE; print <<THERE; print <<EVERYWHERE;
I am the walrus
HERE
The walrus was Paul
THERE
Happiness is a warm gun
EVERYWHERE
print "done.\n"'
But this is
Perl only as far as I know.
What do you mean by nesting these, and how do you expect to achieve three of the "quiz" processes? Do you mean a pipeline, by any chance?
Code:
quiz | qtp | qdesign
That's still only one of each (pipes the output as quiz as the input to qtp, then the output from that as input to qdesign.)