On Fri, 3 Apr 2009 08:38:59 -0500, Jared Johnson wrote: > first of all, kudos on the frequent releasing :) > > I've attached a suggested patch to .perltidyrc. I've been playing > around with perltidy'ing all QP code and some results I don't like. > This doesn't fix all the things that I don't like, but it's been > sitting on my laptop for a month so I thought I'd submit it to the ML > for discussion. I haven't committed it to my git since I'd just > revert it if it wasn't accepted :) Here's the relevant documentation > to go along with the additions: > > -ce, --cuddled-else
You're the first perl programmer I know who likes these :-) I don't. And I'm fairly sure the rest of us probably don't either. > [-nbcc], -bbc, --blanks-before-comments > A blank line will be introduced before a full-line > comment. This is the default. Use -nbbc or > --noblanks-before-comments to prevent such blank lines from being > introduced. No idea what this does? Do you have a visual example? > -msc=n, --minimum-space-to-comment=n > Side comments look best when lined up several spaces to > the right of code. Perltidy will try to keep comments at least n > spaces to the right. The default is n=4 spaces. Same as above... Matt.