Author: timbo
Date: Fri Oct 27 14:20:45 2006
New Revision: 7991

Modified:
   dbi/trunk/Changes
   dbi/trunk/DBI.pm
   dbi/trunk/t/07kids.t

Log:
Revert to inherit from Exporter.


Modified: dbi/trunk/Changes
==============================================================================
--- dbi/trunk/Changes   (original)
+++ dbi/trunk/Changes   Fri Oct 27 14:20:45 2006
@@ -16,8 +16,6 @@
   Fixed to be more robust against drivers not handling multiple result
     sets properly thanks to Gisle Aas.
 
-  Changed to no longer inherit from Exporter thanks to jvanasco.
-
   Added array context support to execute_array and execute_for_fetch
     methods which returns executed tuples and rows affected.
   Added Tie::Cache::LRU example to docs thanks to Brandon Black.

Modified: dbi/trunk/DBI.pm
==============================================================================
--- dbi/trunk/DBI.pm    (original)
+++ dbi/trunk/DBI.pm    Fri Oct 27 14:20:45 2006
@@ -156,8 +156,7 @@
 use Exporter ();
 
 BEGIN {
[EMAIL PROTECTED] = qw(DynaLoader);
-*import= \&Exporter::import; # avoid need to have Exporter in @ISA
[EMAIL PROTECTED] = qw(Exporter DynaLoader);
 
 # Make some utility functions available if asked for
 @EXPORT    = ();                   # we export nothing by default

Modified: dbi/trunk/t/07kids.t
==============================================================================
--- dbi/trunk/t/07kids.t        (original)
+++ dbi/trunk/t/07kids.t        Fri Oct 27 14:20:45 2006
@@ -4,7 +4,7 @@
 
 use Test::More;
 
-use DBI;
+use DBI 1.50; # also tests Exporter::require_version
 
 BEGIN {
        plan skip_all => '$h->{Kids} attribute not supported for DBI::PurePerl'

Reply via email to