in reply to Re: CPAN indexes *.pm as "Documentation"? (Memory leaks)
in thread CPAN indexes *.pm as "Documentation"?
When you construct the node, a new, unique integer is generated by the InsideOutFactory, and when the node's DESTROY is called, the integer value is returned back to the InsideOutFactory, to push it into a pool for reuse. The instance data consists of elements of the class arrays. Kinda like this: inside-out objects using arrays?sub set_parent { my ( $self, $parent ) = ( $_[0], $_[1] ); $parent[$$self] = $parent; return $self; } sub get_parent { my $self = $_[0]; return $parent[$$self]; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: CPAN indexes *.pm as "Documentation"? (Memory leaks)
by BerntB (Deacon) on Oct 01, 2005 at 16:57 UTC | |
by rvosa (Curate) on Oct 01, 2005 at 21:23 UTC | |
by BerntB (Deacon) on Oct 02, 2005 at 13:41 UTC | |
by rvosa (Curate) on Oct 03, 2005 at 08:00 UTC |