summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
Diffstat (limited to '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 753cd012ed..12bc581a6d 100644
--- a/pod/perlref.pod
+++ b/pod/perlref.pod
@@ -579,7 +579,7 @@ The second is to use exists() on the hash reference sitting in the
first array element. This checks to see if the given key is a valid
field in the pseudo-hash.
- exists $phash->[0]{pants}; # true, 'pants' is a valid field
+ exists $phash->[0]{bar}; # true, 'bar' is a valid field
exists $phash->[0]{shoes}; # false, 'shoes' can't be used
=head2 Function Templates