By the smell of it I'm guessing you might want to look at classless objects on the CPAN.
There are many implementations, many of which have a nice edge on the issue. I particularly like Class::Inner for what it's worth, which is a bit of a hybrid. I think it may work well in your scenario. Skip my module though - I believe it won't be useful in this context.
In reply to Re: Deleting a package
by nothingmuch
in thread Deleting a package
by sfink
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |