in reply to Timing of garbage collection
-
So, just how undesirable is it to manually call object destructors?
I heard Larry Wall talk about GC in Perl about eleven years ago and I'll paraphrase him here: "Something lives in memory in Perl until nobody cares."
From what I remember there is a reference count associated with any variable (or object) and when that reference counter drops to zero the object is freed from memory.
Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Timing of garbage collection
by tobyink (Canon) on Jan 18, 2013 at 18:39 UTC |
In Section
Seekers of Perl Wisdom