in reply to Re: Query on refcounting with container objects
in thread Query on refcounting with container objects
So, a standard perl container (hash or array) will have a reference to its elements, but not the other way around. This is also true for regular references; they only point 1 way and only up the refcount for the variable that they point to.
|
|---|