Re: Help choosing a Module name

[email protected] (Dave Rolsky)
Newsgroups perl.moose
Message-ID <[email protected]>
On Mon, 8 Oct 2012, Jed Lund wrote:

> I wrap two changes around Moose::Meta::Class->create in my proposal.  I
> accept named hash value pairs for everything including a new package name
> where ->class() expects the new name as the first argument.

Actually, Moose already accepts key/value pairs for this method, but this 
is documented (this thing with multiple calling styles is something I 
really hate in the Moose core).

Most (but not all) methods of the ->method( $name, %args ) style also work 
with ->method( name => $name, %args ). Substitute the "name" key for 
"package" or whatever is appropriate.

Anyway, calling this MooseX::Util::ClassBuilder seems kind of weird since 
Moose already has plenty of class building support.

It's more like MooseX::ShortCut::BuildClass or something.


-dave

/*============================================================
http://VegGuide.org               http://blog.urth.org
Your guide to all that's veg      House Absolute(ly Pointless)
============================================================*/
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.