in reply to Best Hash Practices?
How do you avoid having to test the existence of a hash{key} before testing the existence of its corresponding value?Uhm, Wednesday?
Your question doesn't make sense, and hence the nonsense answer. In Perl, there do not exist hashes that can have keys without a corresponding value. It's impossible. If a key exists, there must be a value. The value may not be defined, but it's there.
|
|---|