Gavin Sinclair wrote:

> One difference between this and a here-doc is the initial newline,
> which is a shame.

Yes, but the following gets to be idiomatic after a while:

str = %{\
   first line
   second line
}