in reply to OO - inside-out or by means of a anonymous sub?
It isn't important to forcibly restrict your data this way. If you use a reglar object without fancy stuff, it'll work great and people will be able to maintain your code. You can't force other people to use your modules in a sane way anyway and you shouldn't try. Unless you have a good reason to want to use a non-standard object type, use something normal.
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
|
|---|