You can do complicated things with Moose::Meta::Attribute and Moose::Meta::Class (and the other Moose::Meta modules). I haven't delved deep into the Moose::Meta stuff, so I can't be more helpful. But from what I can tell, there's usually a simpler way, like what jeffa has suggested.
In reply to Re: Creating a Moose object at run-time
by nevdka
in thread Creating a Moose object at run-time
by talexb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |