in reply to Extract SQL Statements

Perhaps http://search.cpan.org/~mjevans/DBIx-Log4perl-0.16/lib/DBIx/Log4perl.pm will do that for you when you elect to only log SQL.

Replies are listed 'Best First'.
Re^2: Extract SQL Statements
by mje (Curate) on Oct 08, 2009 at 13:06 UTC

    Sorry to followup on myself here but I think there is a callback mechanism in DBI now which you could use to trap calls to prepare and do. I believe these would also catch selectall_xxx etc as well.