Re: Several Questions

[email protected] (Chris Prather)
Newsgroups perl.moose
Message-ID <[email protected]>
On Mon, 23 Jun 2008 15:20:32 -0700, Christopher Brown wrote:
> Stevan et al.,
> 
> Thanks.  That is exactly what I want to do.  I will take a look at
> MooseX::Storage and read on how the Moose exports works.  ( It might be a
> little foreign to me since I am an Exporter guy.  I know, I know.  I may
> lean again on the list for another questions or so. but I will give it my
> best shot. )
> 
> Okay ... MooseX::Common is a little weak.  MooseX::Getopt::Commom?
> MooseX::Attributes::Common?  MooseX::CommonAttributes?  MooseX::Attributes?
> 
> I'll have to sleep on this one.  As you can see, I have more than a little
> trepidation of picking a stoopid name.
> 
> Cheers,
> 
> Chris


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
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.