diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-04-26 16:23:27 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-05-18 11:15:06 -0600 |
commit | 69895b01c3ba0654aa09956a23cefcd77cf7f706 (patch) | |
tree | 1af1977b7c62a7f89413f564eb15343f2a842ad5 /ext | |
parent | fd4f576613053ce58b198f4280fdba405bc91e37 (diff) | |
download | perl-69895b01c3ba0654aa09956a23cefcd77cf7f706.tar.gz |
FieldHash.pm: Fix broken links
Diffstat (limited to 'ext')
-rw-r--r-- | ext/Hash-Util-FieldHash/lib/Hash/Util/FieldHash.pm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/Hash-Util-FieldHash/lib/Hash/Util/FieldHash.pm b/ext/Hash-Util-FieldHash/lib/Hash/Util/FieldHash.pm index a13ea856d5..4f833fffb4 100644 --- a/ext/Hash-Util-FieldHash/lib/Hash/Util/FieldHash.pm +++ b/ext/Hash-Util-FieldHash/lib/Hash/Util/FieldHash.pm @@ -5,7 +5,7 @@ use strict; use warnings; use Scalar::Util qw( reftype); -our $VERSION = '1.09'; +our $VERSION = '1.10'; require Exporter; our @ISA = qw(Exporter); @@ -103,7 +103,7 @@ Returns the reference address of a reference $obj. If $obj is not a reference, returns $obj. This function is a stand-in replacement for -L<Scalar::Util::refaddr|Scalar::Util/refaddr>, that is, it returns +L<Scalar::Util::refaddr|Scalar::Util/refaddr EXPR>, that is, it returns the reference address of its argument as a numeric value. The only difference is that C<refaddr()> returns C<undef> when given a non-reference while C<id()> returns its argument unchanged. @@ -217,7 +217,7 @@ in this technique, classes that can advertise themselves as "Put me on your @ISA list and use my methods". If the other class has different ideas about how the object body is used, there is trouble. -For reference L<Name_hash> in L<Example 1> shows the standard implementation of +For reference C<Name_hash> in L</Example 1> shows the standard implementation of a simple class C<Name> in the well-known hash based way. It also demonstrates the predictable failure to construct a common subclass C<NamedFile> of C<Name> and the class C<IO::File> (whose objects I<must> be globrefs). @@ -231,8 +231,8 @@ With I<inside-out> classes, each class declares a (typically lexical) hash for each field it wants to use. The reference address of an object is used as the hash key. By definition, the reference address is unique to each object so this guarantees a place for each field that -is private to the class and unique to each object. See L<Name_id> in -L<Example 1> for a simple example. +is private to the class and unique to each object. See C<Name_id> +in L</Example 1> for a simple example. In comparison to the standard implementation where the object is a hash and the fields correspond to hash keys, here the fields correspond @@ -494,7 +494,7 @@ class. =item * C<Name_idhash> -Idhash-based inside-out implementation. Like L<Name_id> it needs +Idhash-based inside-out implementation. Like C<Name_id> it needs a C<DESTROY> method and would need C<CLONE> for thread support. =item * C<Name_id_reg> |