summaryrefslogtreecommitdiff
path: root/pod/perlref.pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-10-03 14:16:24 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-10-03 14:16:24 +0000
commitc99cdc197163c0d3b8c3bd0e4bb832623e79c9d2 (patch)
tree06f35e570fa168a94dcc08d3ecb007e874969982 /pod/perlref.pod
parente0478e5a74c23ab803d1f4136ac0e84a68ba9ecf (diff)
downloadperl-c99cdc197163c0d3b8c3bd0e4bb832623e79c9d2.tar.gz
Fix a typo in #4293 spotted by Graham Barr.
p4raw-id: //depot/cfgperl@4294
Diffstat (limited to 'pod/perlref.pod')
-rw-r--r--pod/perlref.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlref.pod b/pod/perlref.pod
index 08a2b42aee..753cd012ed 100644
--- a/pod/perlref.pod
+++ b/pod/perlref.pod
@@ -568,7 +568,7 @@ pseudo-hash. The first is to use exists(). This checks to see if the
given field has been used yet. It acts this way to match the behavior
of a regular hash. For instance:
- $phash = [{foo =>, bar => 2, pants => 3}, 'FOO'];
+ $phash = [{foo =>1, bar => 2, pants => 3}, 'FOO'];
$phash->{pants} = undef;
exists $phash->{foo}; # true, 'foo' was set in the declaration