in reply to Re^2: lazy loading and memory usage
in thread lazy loading and memory usage

No. Because $temp_obj_handle and $gene both point to the same thing. Once you've populated the object one points at ...

And as reference one remains in the anonymous array, once the object is populated, it remains populated until

  1. all references to it go out of scope.

    Which is never, as the reference to the anon. array is at the package level.

  2. Or, it is explicitly freed. Eg. undef'd.

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.