in reply to Object accessors with unknown data

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?

eval

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

  • Comment on Re: Object accessors with unknown data (eval, code generation)