summaryrefslogtreecommitdiff
path: root/lib/fields.pm
diff options
context:
space:
mode:
authorAbigail <abigail@abigail.be>1998-12-28 23:39:15 +0200
committerJarkko Hietaniemi <jhi@iki.fi>1998-12-29 11:36:19 +0000
commitc5c7a622c0d82a63327bf3fa06564167fddd087d (patch)
treef600a0a26b7029df7fdd00f157aee09c56f46334 /lib/fields.pm
parent6b12155502f6bdbf2de045133b6f4615dd04031b (diff)
downloadperl-c5c7a622c0d82a63327bf3fa06564167fddd087d.tar.gz
Typos in pod.
To: perl5-porters@perl.org (Perl Porters) Message-ID: <MLIST_19981228191612.8380.qmail@alexandra.wayne.fnx.com> p4raw-id: //depot/cfgperl@2518
Diffstat (limited to 'lib/fields.pm')
-rw-r--r--lib/fields.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/fields.pm b/lib/fields.pm
index db2eea7a39..54602a6b88 100644
--- a/lib/fields.pm
+++ b/lib/fields.pm
@@ -32,7 +32,7 @@ does so by updating the %FIELDS hash in the calling package.
If a typed lexical variable holding a reference is used to access a
hash element and the %FIELDS hash of the given type exists, then the
operation is turned into an array access at compile time. The %FIELDS
-hash map from hash element names to the array indices. If the hash
+hash maps from hash element names to the array indices. If the hash
element is not present in the %FIELDS hash, then a compile-time error
is signaled.
@@ -57,7 +57,7 @@ constructor like this does the job:
{
my $class = shift;
no strict 'refs';
- my $self = bless [\%{"$class\::FIELDS"], $class;
+ my $self = bless [\%{"$class\::FIELDS"}], $class;
$self;
}