perltidy is so tempting
You could tie perltidy to the mercurial commit hook, and use that as an automatic checker for style before commit.
We have so much old code in various styles, this would be much easier than tweaking things by hand to make everything conform, and once you've gotten past that first big burst of formatting, you could run it again and see any style issues in any new patches.
And yet, and yet...
We have so much old code in various styles, this would be much easier than tweaking things by hand to make everything conform, and once you've gotten past that first big burst of formatting, you could run it again and see any style issues in any new patches.
And yet, and yet...

no subject
One bug in the formatter, and it noms some $foo->prevent_xss_funtimes; check. *g*
no subject
no subject
Though maybe also
diff --ignore-all-spacemight be close enough.no subject
if ( $foo ) { bar(); quux(); }to
if ( $foo ) { bar(); quux(); }no subject
no subject
Oooh and I also want perlcritic, though we'd want to curate to only a subset of rules, but having things checked is easier than having to keep everything in your head!
no subject
no subject
no subject