diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2001-04-08 16:36:06 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2001-04-08 16:36:06 +0000 |
commit | 345f57010fed3c0c97a35645d9673c1b4c68fdb3 (patch) | |
tree | a2030d2b824dbcff49f34e39ce13d4706989f9bd | |
parent | cf1c4a97376b5a495969381e18662a86af89c73a (diff) | |
download | perl-345f57010fed3c0c97a35645d9673c1b4c68fdb3.tar.gz |
add $Tie::RefHash::VERSION
p4raw-id: //depot/maint-5.6/perl@9632
-rw-r--r-- | lib/Tie/RefHash.pm | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/Tie/RefHash.pm b/lib/Tie/RefHash.pm index d4111d92e5..461148821f 100644 --- a/lib/Tie/RefHash.pm +++ b/lib/Tie/RefHash.pm @@ -19,7 +19,7 @@ This module provides the ability to use references as hash keys if you first C<tie> the hash variable to this module. Normally, only the keys of the tied hash itself are preserved as references; to use references as keys in hashes-of-hashes, use Tie::RefHash::Nestable, -included as part of Tie::Hash. +included as part of Tie::RefHash. It is implemented using the standard perl TIEHASH interface. Please see the C<tie> entry in perlfunc(1) and perltie(1) for more information. @@ -57,7 +57,7 @@ Gurusamy Sarathy gsar@activestate.com =head1 VERSION -Version 1.21 22 Jun 1999 +Version 1.3 8 Apr 2001 =head1 SEE ALSO @@ -65,11 +65,13 @@ perl(1), perlfunc(1), perltie(1) =cut -require 5.003_11; +use v5.6.0; use Tie::Hash; -@ISA = qw(Tie::Hash); use strict; +our @ISA = qw(Tie::Hash); +our $VERSION = '1.3'; + sub TIEHASH { my $c = shift; my $s = []; @@ -146,7 +148,7 @@ sub CLEAR { } package Tie::RefHash::Nestable; -use vars '@ISA'; @ISA = qw(Tie::RefHash); +our @ISA = qw(Tie::RefHash); sub STORE { my($s, $k, $v) = @_; |