My comment was based on a cursory read, and general queasyness with non-placeholder
construction of complex SQL - seeing all those $,@ just made me itch.
let me make sure I understand the source of your quasiness: it is because if you use placeholders in conjunction with $dbh->prepare() then you can skip the parse phase on subsequent executes and get result caching against bind parameters depending on the DBD and database?
