On Monday 03 February 2003 09:02 am, nobu.nokada / softhome.net wrote:
> I meant:
>
> 	puts <<-EOS, "and more"
>                 this is
>                 come
>                 text
> 	EOS
>
> or
>
> 	puts %Q{
>                 this is
>                 come
>                 text
> 	}, "and more"
>
> are possible, but
>
> 	puts %l|this is
> 	       |come
> 	       |text
>
> 	, "and more"

besides the fact the you'd never do two literal strings together like this 
(one at least would be a variable) i have never used , (but i could see for 
<< which i have used.)

but not so bad:

	x = %L| this
                    | here
                    | will
	puts x, "be appended to"

the use case of %L doesn't much prescribe to needing to append other string 
formations either. more realistic example:

	x = "and more"
	puts %L| this
                      | is
                      | some
                      | text #{x}

-- 
tom sawyer, aka transami
transami / transami.net