All the Perl that's Practical to Extract and Report
I've just released Class::DBI::MockDBD, which allows you to use the mock database driver in place of a real database to test your SQL, params and db interaction. I've uploaded it to CPAN and it should be available soon.