From: Phrogz Date: 2007-01-26T06:40:06+09:00 Subject: Re: Problem with stripping leading whitespace in here documents On Jan 25, 12:43 pm, s...@signature.invalid (Douglas Wells) wrote: > "If the - [is] placed before the delimiter, then all leading > whitespcae [sic] characters (tabs or spaces) are stripped from > input lines and the line containing [the] delimiter. This > allows here-documents within scripts to be indented in a natural > fashion." Whoa, I've never seen that wording. That is entirely at odds with the way Ruby behaves; as you note, no whitespace stripping occurs, except that the '-' character allows the ENDDOC indicator to be indented. The lack of functionality that happens to be described in the document that you quote above is what caused me to add this RCR: http://www.rcrchive.net/rcrs/2