R
Ralf Baerwaldt
In "man perlfunc" I found:
-----
defined EXPR
....
When used on a hash element, it tells you whether
the value is defined, not whether the key exists
in the hash.
-----
Is it really possible to have a defined value on a
nonexisting key ? Can someone give a sample ?
If I want to print the defined values of a hash, do I have to prove
if the keys exists ? Up to now I just prove for a defined value
assuming that in this case the key must exists, i.e.
-----
defined EXPR
....
When used on a hash element, it tells you whether
the value is defined, not whether the key exists
in the hash.
-----
Is it really possible to have a defined value on a
nonexisting key ? Can someone give a sample ?
If I want to print the defined values of a hash, do I have to prove
if the keys exists ? Up to now I just prove for a defined value
assuming that in this case the key must exists, i.e.