Rob Dixon wrote: > Joseph wrote: > > > > > > > > %hash = (); > > Hi Joseph. > > I agree with your point, but there's no reference counting involved here > (unless the hash values were themselves references). > > Rob
I'll be darned, you're right. I just noticed, as I was about to argue the contrary, that hash was declared statically with %. I so rarely do this, especially if I'm intending to build a mutlidimensional structure, that I assumed the base variable was a reference to an anonymous hash. Even so, I think that the internal hashes are kept alive by the refeences to them within the structure., and therefore are freed when the hash elements referring to them no longer exist. If I'm missing something here, let me know. Clearly if his structure is working as a multidimesional one, then it has to be held together through references, because we know the flattening that takes place when any whole structure inserted into an array or hash. Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]