Fix a typo in #4293 spotted by Graham Barr.
[p5sagit/p5-mst-13.2.git] / pod / perlref.pod
index 08a2b42..753cd01 100644 (file)
@@ -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