http://www.perlmonks.org?node_id=744713


in reply to Re: Can DBI modify queries on the fly?
in thread Can DBI modify queries on the fly?

DBD::Proxy would be a good place to start. It might be as simple as making a copy of it, and replacing the prepare() function with one that adds a SQL comment to queries.