Gavin Sinclair wrote:
>>....but the here doc doesn't parse.  Can someone please take two
>>nanoseconds to point out the obvious?
> 
> 
> Try this:
> 
>   print(<<-EOF)
>     blah blah blah
>   EOF
> 
> Lessons:
>  - enclose <<-EOF in brackets; don't wrap entire doc in brackets
>  - start with simple end-document-marker, then work your way up
>    if you want to
>  - don't use quotes on document marker

    - keep in mind the %{...} notation if you really want to put
      parens around your string:

        print(%{your
        string
        blah blah blah
        })

      If you need single-quote behavior, there is $q{...}.