On Tue, 26 Jan 2010 16:09:08 +0000 Zbigniew Lukasiak <zzb...@gmail.com> wrote:
> Hi there, > > I would like to add stuff to method metadata from the code attributes > of their definitions (think Catalyst actions with code attributes like > Local etc) - what would be the best way to do that? I tried to find > the place where the Moose::Meta::Class methods hash gets initialized > but with no success. > In MooseX::Method::Signatures, you can have method traits that can take arguments. Whether or not this is something useful for you, you can at least peer inside the code and see how we accomplish it. -- Nicholas Perez XMPP/Email: n...@nickandperla.net http://search.cpan.org/~nperez/ http://github.com/nperez