Advertisement

09.08.2004 at 03:07AM PDT, ID: 21122718
[x]
Attachment Details

Transparent wrapper around DBI for debugging purposes

Asked by dorward in Perl Programming Language

Tags: wrapper, perl, dbi, transparent

I have a large code base (which runs under mod_perl) to which I would like to add some debugging code.

I would like to be able to run a bit of code everytime DBI is used to connect, prepare or execute. How can I add this debugging code _without_ editing every call to those methods and _without_ editing the DBI module itself. Start Free Trial
 
Loading Advertisement...
 
[+][-]09.08.2004 at 03:50AM PDT, ID: 12004898

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.08.2004 at 03:55AM PDT, ID: 12004939

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Perl Programming Language
Tags: wrapper, perl, dbi, transparent
Sign Up Now!
Solution Provided By: kandura
Participating Experts: 1
Solution Grade: A
 
 
[+][-]10.02.2004 at 10:03PM PDT, ID: 12210374

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]10.07.2004 at 11:11AM PDT, ID: 12251756

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32