On Wed, 25 Sep 2002, David Nolan wrote:

> I think the right way to write the test is:
> die if (defined $h{stuff} and $h{stuff} ne "");

perldoc -f exists

       exists EXPR
               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 ini­
               tialized, even if the corresponding value is unde­
               fined.  The element is not autovivified if it
               doesn't exist.

> I'm going to be sending you another large patchset today.  Do you want the
> attached documentation to be as verbose as the last one?

it cannot hurt.

_______________________________________________
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to