On Thu, 30 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

You're right. That was a pretty dumb typo :)

Michael, I hope you didn't think that was a jab at you! It would be ironic if that typo slipped through, and suddenly a simple patch meant to reduce confusion ended up creating even more. :-)

Larry

Reply via email to