On Wed, 15 Jan 2003 02:31:22 +0900
Kazuo Saito <ksaito / uranus.dti.ne.jp> wrote:

>  Nobu Nakada proposed the idea for a new here-document style inspired by
>  [ruby-talk:50473]. In his idea, if you assign a character (except
>  quotes) after the here-document indicator "<<-", All blanks and
>  assigned character at the head of each line will be deleted.
>  Here is a example assigning '|':
> 
>     p <<-|EOS
>       |  foo
>       |    bar
>     EOS
>     # => "  foo\n    bar\n".
> 
>  He already posted a patch to add this function.  Matz wants any
>  comments for the idea from all Rubyists.

Wow, I've been wanting this behavior in one language or another for years
for when you want a multiline string assigned to a variable that's indented.

I vote yes.

Jim