summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-10-11 19:15:46 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-10-11 19:15:46 +0000
commit082ab4105db91207118a22ff2c45d50a1b772838 (patch)
tree219ceaa931016e0566c388b21fd4ff08a6e78df1 /pod
parent35a734be319e73f3caacab9f423c3ca51b60342b (diff)
downloadperl-082ab4105db91207118a22ff2c45d50a1b772838.tar.gz
writing to perllocal.pod fails if it was never created;
tweak pseudo-hash example (both suggested by Michael G Schwern <schwern@pobox.com>) p4raw-id: //depot/perl@4345
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