From: nobu.nokada@... Date: 2003-02-05T17:17:19+09:00 Subject: Re: %L, %l revisited Hi, At Tue, 4 Feb 2003 01:37:59 +0900, Tom Sawyer wrote: > 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.) Not just succeeding two literals. Here-docs allow other things after it, you can see an example in lib/mkmf.rb: def try_func(func, libs, headers = nil) headers = cpp_include(headers) try_link(<<"SRC", libs) or try_link(<<"SRC", libs) whereas %l literal can't be used here. > 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: The necessarity of these work-arounds is the reason of my doubt. -- Nobu Nakada