Front page | perl.perl5.porters |
Postings from July 2016
Re: Indented here docs?
Thread Previous
From:
Alberto Simões
Date:
July 1, 2016 15:34
Subject:
Re: Indented here docs?
Message ID:
5f69658e-ee9c-2c26-b724-56e083f3e363@alfarrabio.di.uminho.pt
On 01/07/16 13:36, Matthew Horsfall (alh) wrote:
> On Fri, Jul 1, 2016 at 7:56 AM, Ed Avis <eda@waniasset.com> wrote:
>> > Alberto Simões <albie <at> alfarrabio.di.uminho.pt> writes:
>> >
>>> >>Let it work only if the prefix is the same, exactly the same order of
>>> >>tab and spaces?
>> >
>> > Personally I think that is the best choice. It keeps well away from holy
>> > wars about the exact size of a tab.
>> >
> This is the way I've implemented it. If your EOF is preceded by three
> spaces and a tab, then each line must have that identical indentation,
> otherwise for those lines that don't match, a warning is thrown and
> they are not modified.
\o/
Thread Previous