I was thinking the following, which would lead to undef array elements once $obj->DESTROY gets called. Still, I like it ;-)
The point borisz was making is that with a solution like this @name always increases in length as objects are created and deleted, which will lead to you running out of memory in the long term.
In reply to Re^3: inside-out objects using arrays?
by adrianh
in thread inside-out objects using arrays?
by rvosa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |