jkramer/sql-beautify — pull request #2 by nigelm (2012-01-31 12:04:07+00:00)
Title: Added lowercasing of non-keyword items

Hi.

This commit adds a lc_names option which transforms names (ie not keywords, not constants) to lower case.

I did this a while back because our outsourced devs appear to randomly flip case all over the show when writing any SQL - so I hit all their SQL hard before committing it to my repo.

Theres a basic test of general case mangling included.

I suspect there may be some very minor clashing with szabgab's work. If I get the chance I will pull his line and merge it too, but last time I touched this code I ended up leaving it for a while and then playing catch up with your changes...

Cheers
Nigel.

[nigelm@cpan.org]