It does what you are doing -- stores the object in a list -- but instead of returning a blessed reference to the object, it returns a blessed index into the list. Add a DESTROY that undefs the entry in the list, and you get the behavior you want.
In reply to RE: Allowing object destruction even with an
by BlaisePascal
in thread Allowing object destruction even with an
by Fastolfe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |