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


in reply to Here, doccy doccy. nice doccy. heredoc, treat.

Next you'll be wanting to quote the q() delimiters with qq(): q qq(DELIMITER)Here is my happy string!qq(DELIMITER); Sorry, you just can't do that.

On the other hand, you could get the effect of qw() with a heredoc like this:

my @list = split(' ', <<HERE); some whitespace separated words HERE