This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Tie::Hash patch.
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>
Fri, 9 Feb 1996 01:16:18 +0000 (01:16 +0000)
committerAndy Dougherty <doughera@lafcol.lafayette.edu>
Fri, 9 Feb 1996 01:16:18 +0000 (01:16 +0000)
pod/perlbot.pod

index 72c1870..0fd545f 100644 (file)
@@ -251,8 +251,8 @@ This example demonstrates an interface for the SDBM class.  This creates a
        package Mydbm;
 
        require SDBM_File;
-       require TieHash;
-       @ISA = qw( TieHash );
+       require Tie::Hash;
+       @ISA = qw( Tie::Hash );
 
        sub TIEHASH {
            my $type = shift;
@@ -494,8 +494,8 @@ behavior by adding custom FETCH() and STORE() methods, if this is desired.
        package Mydbm;
 
        require SDBM_File;
-       require TieHash;
-       @ISA = qw(TieHash);
+       require Tie::Hash;
+       @ISA = qw(Tie::Hash);
 
        sub TIEHASH {
                my $type = shift;