From: Ronald Fischer Date: 2007-09-04T18:47:37+09:00 Subject: Syntaxerror with HERE document Why does the following statement give syntax error "undefined method `STDOUT'"? STDOUT <<-END line 1 line 2 END After all, the following works: s=<<-END line 1 line 2 END STDOUT << s -- Ronald Fischer Phone: +49-89-452133-162