From: Todd Burch Date: 2008-01-12T03:14:18+09:00 Subject: Re: Here Document syntax is stringent - trailing blank Gary Wright wrote: > I would guess because it is simpler to implement and simpler to > understand. > ... > It is just simpler and less ambiguous to look for a line that > contains the delimiter and only the delimiter. > > Gary Wright Well, I would agree that certainly would be simpler to implement. However, I don't see it as conforming to the rest of ruby's loose coding allowances. I can put as many blanks as I want after the top delimiter - ruby figures it out. Ruby already requires the ending delimiter to be in column 1. All in all, it just seems non-ruby-ish. (Not to mention the fact that it causes me grief when send a file from my Mac to my PC, and run it through a CRLF fixer-program that turns the first extra of the double CRs into blanks, and subsequently causes ruby parser errors for these situations) Todd -- Posted via http://www.ruby-forum.com/.