Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: Array-based Inside-out Objects with Object::InsideOutby jdhedden (Deacon) |
on Nov 18, 2005 at 01:00 UTC ( [id://509658]=note: print w/replies, xml ) | Need Help?? |
Array indices (object IDs) are generate by sequences (starting with 1). There is one sequence for each class tree.
When an object is destroyed, it's ID is reclaimed as part of the DESTROY subroutine. Reclaimed ID are maintained in a queue, one per class tree. Reclaimed IDs are doled out first, of course. Remember: There's always one more bug.
In Section
Meditations
|
|