Re: Several Questions

[email protected] (Chris Prather)
Newsgroups perl.moose
Message-ID <[email protected]>
> 
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.