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