>>>>> "LW" == Larry Wall <[EMAIL PROTECTED]> writes:

LW> : This can be very hard to discover. I find it hard to see myself doing
LW> : this on purpose.  I would like to see a compiler warning for this:
LW> : "Spaces detected after apparent here document terminator", but
LW> : preferably phrased better.
LW> : 
LW> : Are there any objections?

LW> I object, vaguely.  I think it should just Do The Right Thing.
LW> (I suspect it should ignore spaces on the left to.)

This was suggested a while back in p5p. But it was shot down. I can't
remember the reason offered. (Speed?)


I can see a possible issue

        print <<EOF    ;        # or 'EOF    '
        The following is not the end
        EOF
        But this one is
        EOF    

Though I don't really see a very good use for having trailing invisible
characters.

<chaim>
-- 
Chaim Frenkel                                        Nonlinear Knowledge, Inc.
[EMAIL PROTECTED]                                               +1-718-236-0183

Reply via email to