I'm practicing OOP with bog standard perl for my own education! How do you write accessors for unknown attributes
How does Moose Mo do it?
So, yes, study Mo. Specifically start at Mo::Design, Mo::Hacking and go directly for https://github.com/ingydotnet/mo-pm/tree/master/src and read the source
In reply to Re: Object accessors with unknown data (eval, code generation)
by Anonymous Monk
in thread Object accessors with unknown data
by Amblikai
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |