develooper Front page | perl.perl6.language | Postings from August 2000

Re: Pre-RFC: Require a warning on spaces after here-document "terminator"

Thread Previous | Thread Next
From:
Larry Wall
Date:
August 21, 2000 13:44
Subject:
Re: Pre-RFC: Require a warning on spaces after here-document "terminator"
Message ID:
200008212036.NAA23587@kiev.wall.org
damian@conway.org writes:
:    > : I would like to see a compiler warning for this:
:    > : "Spaces detected after apparent here document terminator", but
:    > : preferably phrased better.
:    > : 
:    > : Are there any objections?
:    > 
:    > I object, vaguely.  I think it should just Do The Right Thing.
:    > (I suspect it should ignore spaces on the left to.)
: 
: Hear, hear.
: 
: And whilst you're in a mood to ignore whitespace, how about C<$/ = "">
: terminating on C</\n(\s*\n)+/>?

I'm more inclined to ignore $/ these days.  :-)

Larry

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About