On Wed, 29 Nov 2006, Michael Peters wrote:

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.

+    # 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'};

Great idea!  But don't you mean:
   Apache::DBI must be loaded before DBI to work correctly
                              ^^^^^^
?


Reply via email to