Hi,

At Fri, 17 Jan 2003 10:01:56 +0900,
Pe, Botp wrote:
> #this one combines use (since you may or may not use indenter)
> s1 = <<|EOS
>        |================================
>        |  #{hi}
>        |  I have to indent this line
>        |  And also this list line
>        |  to make it look good
>        |================================
>        #{verylongstring} whose length I do not know/care
>          Lots of lines
>      follow here
>     and here.... blahblah blah
>      I don't mind.... works all the time
> 	 EOS
> 
> 
> Is this possible?

What possiblity?  Yes for implementation, but I'm not sure
about the possiblity of adoption.

I thought concatenated 2 literals, but noticed here-doc wasn't
allowed after here-doc.  This sample works as you expected but
looks strange a bit.

s1 = <<-EOS "\
       |================================
       |  #{hi}
       |  I have to indent this line
       |  And also this list line
       |  to make it look good
       |================================
	 EOS
       #{verylongstring} whose length I do not know/care
         Lots of lines
     follow here
    and here.... blahblah blah
     I don't mind.... works all the time
"

-- 
Nobu Nakada