From: Daniel Carrera Date: 2003-01-15T10:36:43+09:00 Subject: Re: ruby-dev summary 19198-19345 On Wed, 15 Jan 2003, Gavin Sinclair wrote: > > p <<-|EOS > > | foo > > | bar > > EOS > > # => " foo\n bar\n". [snip] > Anyway. I want this functionality so bad I can taste it. Gavin, maybe I'm missing something but I'm not sure I understand the usefulness of this. The only example I can think of where I might like this is when I have lots of indentation: def function if (condition) p <<-|EOH |Blah blah blah |Blah blah blah EOH end end Is this the purpose of this feature? Or am I missing something? Daniel Carrera Graduate Teaching Assistant. Math Dept. University of Maryland. (301) 405-5137