Skip Menu |

This queue is for tickets about the Perl-Tidy CPAN distribution.

Report information
The Basics
Id: 39070
Status: resolved
Priority: 0/
Queue: Perl-Tidy

People
Owner: Nobody in particular
Requestors: mschwern [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 20071205
Fixed in: (no value)



Subject: Control number of blanks before
I like to put 2 blank lines before my subroutines, to make them stand out even more than just the one blank line between normal blocks. It would be nice if there was a way to tell perltidy to do this. Thanks.
From: ELLIOTJS [...] cpan.org
On Sun Sep 07 15:01:39 2008, MSCHWERN wrote: Show quoted text
> I like to put 2 blank lines before my subroutines, to make them stand > out even more than just the one blank line between normal blocks. It > would be nice if there was a way to tell perltidy to do this.
+1 on that.
Subject: Re: [rt.cpan.org #39070] Control number of blanks before
Date: Wed, 01 Oct 2008 15:26:21 -0400
To: bug-Perl-Tidy [...] rt.cpan.org
From: Michael G Schwern <schwern [...] pobox.com>
ELLIOTJS via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=39070 > > > On Sun Sep 07 15:01:39 2008, MSCHWERN wrote:
>> I like to put 2 blank lines before my subroutines, to make them stand >> out even more than just the one blank line between normal blocks. It >> would be nice if there was a way to tell perltidy to do this.
> > +1 on that.
FWIW I found I can set --maximum-consecutive-blank-lines=2 to at least keep perltidy from stripping my formatting out. -- Defender of Lexical Encapsulation
This feature is in peltidy v20120619 as -blbs=n and -blbp=n.