From: Robert Feldt Date: 2001-02-12T17:34:47+09:00 Subject: [ruby-talk:10719] Re: Are """ here documents here to stay? :-) On Fri, 9 Feb 2001, Jim Freeze wrote: > I get the following: > > irb(main):020:0> puts """ > irb(main):021:0" "this is a test" > irb(main):022:0" """ > SyntaxError: compile error > (irb):21: parse error > "this is a test" > ^ > (irb):21:in `irb_binding' > irb(main):023:0> puts < irb(main):024:0" "this is a test" > irb(main):025:0" HERE > "this is a test" > nil > > It doesn't appear that """ is a here doc. > No, you're right. People who have been confused by this thread should probably read page 204 in the pickaxe book on strings and here documents. /R