|Welcome to the Monastery|
Shared objects and refcount/weaken bug?by menth0l (Monk)
|on Mar 01, 2012 at 09:01 UTC||Need Help??|
menth0l has asked for the
wisdom of the Perl Monks concerning the following question:
In following example i'm testing several cases where shared object is assigned to shared hash. I observerd that if i use refcount on object reference or weaken on reference inside the shared hash after assignment this object fails to destroy.
My output is:
My main concern is that i can't use weaken on my shared objects inside a hash.
ActiveState Perl 5.12.4
Is this a bug? And is it possible to keep weak references to shared objects inside a hash?