develooper Front page | perl.perl5.porters | Postings from July 2016

Re: Indented here docs?

Thread Previous | Thread Next
From:
Zefram
Date:
July 1, 2016 15:47
Subject:
Re: Indented here docs?
Message ID:
20160701154705.GQ1170@fysh.org
Matthew Horsfall (alh) wrote:
>  Newlines will be copied as is, and lines that don't include the
>  proper beginning whitespace will throw warnings.

If omitting the beginning whitespace is improper, it should be signalled
as an error.  I see no reason for it to be legal.  As there is no
established usage of a lax version of this facility, we are free to be
strict about it being used in the proper meaningful manner.

-zefram

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