API wrapper best practices?
Dave Lambley
dave.lambley at gmail.com
Sat Mar 23 21:19:35 GMT 2013
On 23 March 2013 20:50, DAVID HODGKINSON <davehodg at gmail.com> wrote:
> Are there any tutorial type docs for Moose Meta the way you used it or
> which man page should I be able to work it out from?
Moose::Meta::Class and Moose::Meta::Attribute are probably what you
want. I have an over engineered example here,
https://github.com/OpenIMP/OpenIMP-APIClient/blob/master/lib/OpenIMP/APIClient/Loader.pm#L121
where a schema described in YAML is inflated into a Moose class hierarchy.
Dave
More information about the london.pm
mailing list