Keep It Simple, Stupid | |
PerlMonks |
Re^3: inside-out objects using arrays?by adrianh (Chancellor) |
on Sep 18, 2005 at 00:37 UTC ( [id://492943]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|