On Mon, Feb 09, 2004 at 04:19:57PM -0600, Bob Apthorpe wrote:
> Is this a reasonable set of defaults for perltidy?

At some point, using perltidy might be a good idea... we have never
really worried about style.
 
> # perltidyrc
>  -i=2    # use n columns per indentation level (default n=4)
>  -nt     # no tabs: use n spaces per indentation level (default)
>  -bt=2   # sets brace tightness,  n= (0 = loose, 1=default, 2 = tight)
>  -pt=2   # paren tightness (n=0, 1 or 2)
>  -sbt=2  # square bracket tightness (n=0, 1, or 2)
>  -ce     # cuddled else; use this style: '} else {'
>  -bar    # opening brace always on right, even for long clauses

I'm not sure about -bar

> # __END__
> 
> -- Bob
> 

Sounds good. I was a little unsure about the tightness bit, but 2
looks appropriate from the manpage. I might add -lp and/or -icp

Do we want to go ahead and start using perltidy?

-- 
Duncan Findlay

Attachment: signature.asc
Description: Digital signature

Reply via email to