Re: perltidy - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: perltidy
Date
Msg-id 201106141939.p5EJd4q00558@momjian.us
Whole thread Raw
In response to perltidy  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: perltidy
List pgsql-hackers
Peter Eisentraut wrote:
> How much do we care about applying perltidy, as described in
> src/tools/msvc/README, everywhere?  I just ran it across the entire
> tree, using
> 
> perltidy -b -bl -nsfs -naws -l=100 -ole=unix **/*.pl **/*.pm
> 
> and it generated 6531 lines of (unified) diff, of which 357 are in
> src/tools/msvc/ itself.  So clearly it's not being applied very
> consistently.
> 
> Given how easily this appears to work and how we're sneakily expanding
> the use of Perl, I think we ought to add this to the standard pgindent
> routine.

Yes, I would support that.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: perltidy
Next
From: Magnus Hagander
Date:
Subject: Re: perltidy