[re: <<-|FOO, <<|FOO, <<|] While I like the proposed functionality, I agree with matz that it's not really "intuitive." Why not take the most radical and combine it with a variant of the Perl6 syntax? foo = <<<| |text |here p foo -a -- austin ziegler Sent from my Treo -----Original Message----- From: Dave Thomas Date: 03.1.15 11.01 To: ruby-talk / ruby-lang.org (ruby-talk ML) Subj: Re: ruby-dev summary 19198-19345 Matt Armstrong wrote: > I just though, why not "<<|FOO". In other words, the '-' in there > doesn't serve much purpose. > > s = <<|FOO > |this > | is > | my > | text > FOO > > In fact, neither does the 'FOO' s = <<|Now is the time | For all good men | to code Ruby p s.length So any line that _doesn't_ start with the given delimiter (ignoring leading whitespace) ends the string. Cheers Dave