Hi,

In message "Re: Ruby << is ambiguos"
    on Mon, 29 Jan 2007 06:10:11 +0900, Wolfgang NŠŇasi-Donner <wonado / donnerweb.de> writes:

|Ooops! - I Think Ruby itself has some problems with it:

Perhaps Ruby is smarter than you expected.

|irb(main):007:0> angy <<EOT
|irb(main):008:0" xxxxx
|irb(main):009:0" EOT
|NameError: uninitialized constant EOT
|         from (irb):7

Ruby knows angy is a local variable, so that the interpreter consider
it is more likely a shift operator than a here-doc.  If you want to
disambiguate, use parentheses.

							matz.