This is basically what it does, unless -mbl=n is changed. However, it does
not touch anything after an __END__ or __DATA__, since they do not
necessarily contain perl code.
Steve
On Sat, Oct 29, 2016 at 5:16 PM, Dan Jacobson via RT <
bug-Perl-Tidy@rt.cpan.org> wrote:
Show quoted text> Sat Oct 29 20:15:58 2016: Request 118553 was acted upon.
> Transaction: Ticket created by jidanni@jidanni.org
> Queue: Perl-Tidy
> Subject: leave only one newline at the end of a file
> Broken in: (no value)
> Severity: (no value)
> Owner: Nobody
> Requestors: jidanni@jidanni.org
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=118553 >
>
>
> I say perltidy should gobble all the extra trailing newlines found at the
> end of
> a file, except the last one.
>
>