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

Re: Indented here docs?

Thread Previous
Alberto Simões
July 1, 2016 15:34
Re: Indented here docs?
Message ID:

On 01/07/16 13:36, Matthew Horsfall (alh) wrote:
> On Fri, Jul 1, 2016 at 7:56 AM, Ed Avis <> wrote:
>> > Alberto Simões <albie <at>> 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.


Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About