in reply to Obtaining SQL updates for application to another database

Maybe you could (mis)use the DBI profiler (DBI::ProfileDumper / dbiprof) for this. I've only used it for profiling, but I imagine that the raw data that is produced by profiling might contain all SQL queries, and it looks like DBI::ProfileData is a programmatic interface to this raw data.
  • Comment on Re: Obtaining SQL updates for application to another database