From: Paul Marquess Date: Tue, 6 Feb 1996 14:09:49 +0000 (+0000) Subject: VERSION Patch X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=96318ac814a21946aa21e73f380cb3082ee4edca;p=p5sagit%2Fp5-mst-13.2.git VERSION Patch TieHash -> Tie::Hash Patch. --- diff --git a/ext/GDBM_File/GDBM_File.pm b/ext/GDBM_File/GDBM_File.pm index ed80aa9..3f1d83e 100644 --- a/ext/GDBM_File/GDBM_File.pm +++ b/ext/GDBM_File/GDBM_File.pm @@ -39,12 +39,15 @@ L, L. package GDBM_File; +use strict; +use vars qw($VERSION @ISA @EXPORT $AUTOLOAD); + require Carp; -require TieHash; +require Tie::Hash; require Exporter; use AutoLoader; require DynaLoader; -@ISA = qw(TieHash Exporter DynaLoader); +@ISA = qw(Tie::Hash Exporter DynaLoader); @EXPORT = qw( GDBM_CACHESIZE GDBM_FAST @@ -56,12 +59,12 @@ require DynaLoader; GDBM_WRITER ); -$VERSION = $VERSION = "1.00"; +$VERSION = "1.00"; sub AUTOLOAD { - local($constname); + my($constname); ($constname = $AUTOLOAD) =~ s/.*:://; - $val = constant($constname, @_ ? $_[0] : 0); + my $val = constant($constname, @_ ? $_[0] : 0); if ($! != 0) { if ($! =~ /Invalid/) { $AutoLoader::AUTOLOAD = $AUTOLOAD; @@ -75,7 +78,7 @@ sub AUTOLOAD { goto &$AUTOLOAD; } -bootstrap GDBM_File; +bootstrap GDBM_File $VERSION; # Preloaded methods go here. Autoload methods go after __END__, and are # processed by the autosplit program. diff --git a/ext/NDBM_File/NDBM_File.pm b/ext/NDBM_File/NDBM_File.pm index 53a136e..339439c 100644 --- a/ext/NDBM_File/NDBM_File.pm +++ b/ext/NDBM_File/NDBM_File.pm @@ -1,12 +1,16 @@ package NDBM_File; -require TieHash; +use strict; +use vars qw($VERSION @ISA); + +require Tie::Hash; require DynaLoader; -@ISA = qw(TieHash DynaLoader); -$VERSION = $VERSION = "1.00"; +@ISA = qw(Tie::Hash DynaLoader); + +$VERSION = "1.00"; -bootstrap NDBM_File; +bootstrap NDBM_File $VERSION; 1; diff --git a/ext/ODBM_File/ODBM_File.pm b/ext/ODBM_File/ODBM_File.pm index 336af3d..a96916b 100644 --- a/ext/ODBM_File/ODBM_File.pm +++ b/ext/ODBM_File/ODBM_File.pm @@ -1,12 +1,16 @@ package ODBM_File; -require TieHash; +use strict; +use vars qw($VERSION @ISA); + +require Tie::Hash; require DynaLoader; -@ISA = qw(TieHash DynaLoader); -$VERSION = $VERSION = "1.00"; +@ISA = qw(Tie::Hash DynaLoader); + +$VERSION = "1.00"; -bootstrap ODBM_File; +bootstrap ODBM_File $VERSION; 1;