in reply to Obtaining SQL updates for application to another database
You might look at DBD::Mock. You can probably munge the DBD::Mock::StatementTrack objects into something useful:
For example:
my $dbh = DBI->connect( 'DBI:Mock:', '', '' ) || die "connect: $DBI::e +rrstr"; # [ call stuff that uses $dbh ] print join "\n", map { $_->to_string } ( @{ $dbh->{mock_all_history} } + );
|
|---|