Change 34239 by [EMAIL PROTECTED] on 2008/09/02 13:03:04 Subject: [PATCH] clear docs on exists wrt autovivification From: Moritz Lenz Date: August 26, 2008 11:23
Affected files ... ... //depot/perl/pod/perlfunc.pod#604 edit Differences ... ==== //depot/perl/pod/perlfunc.pod#604 (text) ==== Index: perl/pod/perlfunc.pod --- perl/pod/perlfunc.pod#603~34089~ 2008-06-26 00:57:35.000000000 -0700 +++ perl/pod/perlfunc.pod 2008-09-02 06:03:04.000000000 -0700 @@ -1735,8 +1735,7 @@ Given an expression that specifies a hash element or array element, returns true if the specified element in the hash or array has ever -been initialized, even if the corresponding value is undefined. The -element is not autovivified if it doesn't exist. +been initialized, even if the corresponding value is undefined. print "Exists\n" if exists $hash{$key}; print "Defined\n" if defined $hash{$key}; End of Patch.