in reply to Check for existance & definedness for Hash and Array references
I'm trying the following ways. ..
One of which you've already dismissed as not working. So what happens when you try the second way?
Also, you might consider fixing getHashRef() so that it doesn't return references to empty hashes.
What have you tried for arrays?
|
|---|