The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Moose::Meta::Method::Delegation - A Moose Method metaclass for delegation methods

DESCRIPTION

This is a subclass of Moose::Meta::Method for delegation methods.

METHODS

new (%options)

This creates the method based on the criteria in %options, these options are:

attribute

This must be an instance of Moose::Meta::Attribute which this accessor is being generated for. This paramter is required.

delegate_to_method

The method in the associated attribute's value to which we delegate. This can be either a method name or a code reference.

associated_attribute

Returns the attribute associated with this method.

delegate_to_method

Returns the method to which this method delegates.

BUGS

All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.

AUTHOR

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

Copyright 2008 by Infinity Interactive, Inc.

http://www.iinteractive.com

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.