Moved Engine3 to Engine
rkinyon [Sun, 14 Jan 2007 05:04:31 +0000 (05:04 +0000)]
lib/DBM/Deep.pm
lib/DBM/Deep/Engine.pm [moved from lib/DBM/Deep/Engine3.pm with 99% similarity]

index 6e917e4..e57afb4 100644 (file)
@@ -43,14 +43,14 @@ use Digest::MD5 ();
 use FileHandle::Fmode ();
 use Scalar::Util ();
 
-use DBM::Deep::Engine3;
+use DBM::Deep::Engine;
 use DBM::Deep::File;
 
 ##
 # Setup constants for users to pass to new()
 ##
-sub TYPE_HASH   () { DBM::Deep::Engine3->SIG_HASH  }
-sub TYPE_ARRAY  () { DBM::Deep::Engine3->SIG_ARRAY }
+sub TYPE_HASH   () { DBM::Deep::Engine->SIG_HASH  }
+sub TYPE_ARRAY  () { DBM::Deep::Engine->SIG_ARRAY }
 
 # This is used in all the children of this class in their TIE<type> methods.
 sub _get_args {
@@ -125,7 +125,7 @@ sub _init {
         engine      => undef,
     }, $class;
 
-    $args->{engine} = DBM::Deep::Engine3->new( { %{$args}, obj => $self } )
+    $args->{engine} = DBM::Deep::Engine->new( { %{$args}, obj => $self } )
         unless exists $args->{engine};
 
     # Grab the parameters we want to use
similarity index 99%
rename from lib/DBM/Deep/Engine3.pm
rename to lib/DBM/Deep/Engine.pm
index 84a1b0a..f2bad5a 100644 (file)
@@ -1,4 +1,4 @@
-package DBM::Deep::Engine3;
+package DBM::Deep::Engine;
 
 use 5.6.0;