>>>>> "James" == James Edward Gray <[EMAIL PROTECTED]> writes:
James> Object A's ref count just hit zero, so it's gone. Now when that James> garbage collection happens, B's count is reduced, since A's reference James> to it is reclaimed. If it hits zero too, B will be collected. That James> would reduce C's count... You get the idea. James> Basically, you generally only need to worry about Perl's references James> when you create circular refs. When faced with that, break the chain James> yourself manually or use weak references. <http://www.stonehenge.com/merlyn/PerlJournal/col04.html> -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>