diff options
Diffstat (limited to 'pod/perlref.pod')
-rw-r--r-- | pod/perlref.pod | 2 |
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 |