If
SQL::Statement doesn't do it for you, try
DBIx::MyParsePP. It's specifically for MySQL, but MySQl does implement SQL-92 and SQL-99.
My criteria for good software:
- Does it work?
- Can someone else come in, make a change, and be reasonably certain no bugs were introduced?