Philip M. Gollucci wrote:

> If you can suggest a documentation patch you feel clarify things, I'll
> read it over and commit for version 1.06 (sorry about that 1.05 is current)

Maybe you could have Apache::DBI issue a warning if it's being loaded and DBI
has already been loaded. Something as simple as the attached patch should work.

-- 
Michael Peters
Developer
Plus Three, LP

--- DBI.pm.old	2006-11-29 14:30:56.000000000 -0500
+++ DBI.pm	2006-11-29 14:32:05.000000000 -0500
@@ -15,6 +15,10 @@
              $modperl::VERSION < 1.99) {
         require Apache;
     }
+
+    # we can only do our magic if DBI isn't already loaded
+    warn "Apache::DBI must be loaded after DBI to work correctly";
+        if $INC{'DBI.pm'};
 }
 use DBI ();
 use Carp ();

Reply via email to