Re: Newborn MooseX module up for adoption

[email protected] (Tomas Doran)
Newsgroups perl.moose
Message-ID <[email protected]>
On 27 Aug 2011, at 08:21, Jess Odum wrote:
> I’m just about ready to start my project with Moose, but I realized  
> that Moose appears to be lacking a feature from Class::Std that I  
> thought would be really useful: AUTOMETHODs.  After reading about  
> how easy it was to extend Moose, I went ahead and created my new  
> extension: MooseX::Automethod.

Automethods are just perl's AUTOLOAD with (slightly) less gotchas.

AUTOLOAD considered harmful (why not just generate all the methods you  
need?)

But if you really want to, there's a role for this already:

http://search.cpan.org/~logie/MooseX-Role-MissingMethodUtils-0.02/lib/MooseX/Role/MissingMethodUtils.pm

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