Hi, At Tue, 25 Jun 2002 06:42:18 +0900, TAKAHASHI Masayoshi wrote: > [ruby-dev:17513] __END__ in literal > > Nobu Nakada pointed out the difference between __END__ > in "" and __END__ in here document. > > p <<EOS > __END__ > EOS > #=> "__END__\n" > > p " > __END__ > " > #=> unterminated string meets end of file > > But if it's fixed, we cannot use __END__ in <<'' or <<``. > This problem is still open. At last, ``, '' and "" behaviors have changed to allow __END__ line in 1.7. -- Nobu Nakada