From: Jeff King Date: Tue, 28 Dec 2010 03:52:11 GMT Subject: Re: [RFC/PATCH] diff: funcname and word patterns for perl Message-ID: <20101228035210.GA11735@sigill.intra.peff.net> In-Reply-To: <7vmxnrxhgm.fsf@alter.siamese.dyndns.org> On Mon, Dec 27, 2010 at 09:18:17AM -0800, Junio C Hamano wrote: > Jonathan's pattern set allows them to be indented, and followed by some > garbage at the end., which we might want to tighten. How many people > start 'package' and the outermost 'sub' indented? FWIW, I sometimes do: { my $static; sub foo { ... use $static ... } } so perhaps allowing whitespace in front of the keyword is worthwhile there. I have never indented "package", though. -Peff