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

Reply via email to