> 
> A frightening suggestion is to look at Moose::Tiny. You should be able 
> to subclass it to give the pre-defined types you want (or possibly look 
> them up) ... but I'm not sure this would do the lookup into a per-class 
> module (::user ::password) ... it's currently set up to give the 
> closest approximation to what Object Tiny defaults to.
> 
> -Chris

And I just looked at it myself, it's not as simple as a "simple 
subclass" ... but I could make it that simple trivially. Just need to 
extract the actual attribute construction into a method that import() 
calls.

-Chris

Reply via email to