On Fri, 9 Feb 2001, David Alan Black wrote: > On Fri, 9 Feb 2001, Robert Feldt wrote: > > > On Fri, 9 Feb 2001, ts wrote: > > > > > >>>>> "R" == Robert Feldt <feldt / ce.chalmers.se> writes: > > > > > > R> I haven't found any docs on """ here documents > > > > > > Well, this is the syntax for string, you have just written > > > > > > pigeon% ruby -v -e 'puts "" "abc" "def" ""' > > > ruby 1.6.2 (2000-12-25) [i686-linux] > > > abcdef > > > pigeon% > > > > > puts """ > > Ok, Guy but this sure looks very much > > like what you can acheive with here documents! > > """ > > > > puts <<-HERE > > Dont, you agree or am I missing something? > > HERE > > > puts " > > But isn't what you're doing also achieved by using > one set of double quotes? > > " > Yeah, you're right. Sorry for wasting bandwith. I saw this in someone else's code and thought it was a new way to specify here docs. I now see that there is a small difference. When using double quotes you get an extra newline before the first line. /Robert