Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Can a hash self reference?by tphyahoo (Vicar) |
on Jul 02, 2005 at 08:48 UTC ( [id://471894]=note: print w/replies, xml ) | Need Help?? |
For what it's worth, self-reference is more commonly called circular reference. Objects with circular references need some guidance about how they should be garbage collected; it doesn't happen automatically. There is a very good discussion of this at Proxy Objects:
Building Garbage Collected Circular References which also touches on what makes references circular in general, and how you can dissect them using devel::peek and other tools. Good luck!
In Section
Seekers of Perl Wisdom
|
|