For instance, you might have a child node that was the parent for two other nodes. If were not careful when deleting the child, the childres for which it is the parent might still be allocated memory, and they would be inaccessible.
I highly recommend Damian Conway's book "Object Oriented Perl". it goes into this subject quite well.
Mike - mps@discomsys.com
"The two most common elements in the universe are hydrogen... and stupidity."
Harlan Ellison
In reply to Re: Building an object tree
by unixwzrd
in thread Building an object tree
by Beatnik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |