note
Abigail-II
No, that is not possible. If there is a key present there is
also a value. The value could be undefined though.
<code>
exists $hash {key} && print "Key is present, value may be undefined.";
defined $hash {key} && print "Key is present, and its value is defined.";
$hash {key} && print "Key is present, its value is defined and true.";
</code>
Of course, this is also documented in the manual: <code>perldoc -f exists</code>.
<p>
Abigail
191725
191725