On 14 Sep 2000, Ariel Scolnicov wrote: > 1. It requires the perl parser know about indentation. Of course we > all know that tabs are 8 characters wide (I myself make a point of > bludgeoning anyone who says otherwise), but do we really want to > open this can of worms? No, because for every person such as yourself who is into eight spaces, there is someone else like me who wants four. And don't even get me started on the really strong guys who want three spaces...you know, the Threeite Musclemen. > print << FIRST_HERE_DOC; print << SECOND_HERE_DOC; > This is on the left margin. > This is indented one char. > FIRST_HERE_DOC > This is indented one char. > This is on the left margin. > SECOND_HERE_DOC RFC 111 specifically disallows statements after the terminator because it is too confusing. I would say that the same logic should apply to the start of the here doc; I'm not sure, just from looking at it, if the example above is meant to be two interleaved heredocs, one heredoc after another, or what. Dave
- RFC 111 (v3) Here Docs Terminators (Was Whitespace and... Perl6 RFC Librarian
- Re: RFC 111 (v3) Here Docs Terminators (Was White... Ariel Scolnicov
- Re: RFC 111 (v3) Here Docs Terminators (Was White... Michael G Schwern
- Re: RFC 111 (v3) Here Docs Terminators (Was W... Nathan Wiger
- Re: RFC 111 (v3) Here Docs Terminators (W... Michael G Schwern
- Re: RFC 111 (v3) Here Docs Terminator... Tom Christiansen
- Re: RFC 111 (v3) Here Docs Terminator... Nathan Wiger
- Re: RFC 111 (v3) Here Docs Terminator... Glenn Linderman
- Re: RFC 111 (v3) Here Docs Termi... Michael G Schwern
- Re: RFC 111 (v3) Here Docs T... Ariel Scolnicov
- Re: RFC 111 (v3) Here Do... Dave Storrs
- Re: RFC 111 (v3) Here Do... Ariel Scolnicov
- Re: RFC 111 (v3) Here Docs T... Michael G Schwern
- Drop here docs altogether? (... Nathan Wiger
- Re: Drop here docs altog... Peter Scott
- Re: Drop here docs altog... Bart Lateur
- Re: Drop here docs altog... Glenn Linderman
- Re: Drop here docs altog... Glenn Linderman
- Re: Drop here docs altog... Michael G Schwern
- Re: Drop here docs altog... Nathan Wiger
- Re: RFC 111 (v3) Here Docs T... Glenn Linderman