Moose::Meta::Method::Delegation(3) User Contributed Perl Documentation Moose::Meta::Method::Delegation(3)

# [DESCRIPTION](#DESCRIPTION)

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

# [METHODS](#METHODS)

## [Moose::Meta::Method::Delegation-&gt;new(%options)](#Moose::Meta::Method::Delegation)

This creates the delegation methods based on the provided %options.

[*attribute*](#attribute)

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

[*delegate\_to\_method*](#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.

[*curried\_arguments*](#curried_arguments)

An array reference of arguments that will be prepended to the argument list for any call to the delegating method.

## [$metamethod-&gt;associated\_attribute](#$metamethod)

Returns the attribute associated with this method.

## [$metamethod-&gt;curried\_arguments](#$metamethod~2)

Return any curried arguments that will be passed to the delegated method.

## [$metamethod-&gt;delegate\_to\_method](#$metamethod~3)

Returns the method to which this method delegates, as passed to the constructor.

# [BUGS](#BUGS)

See "BUGS" in Moose for details on reporting bugs.

2026-10-01 perl v5.44.0

---

Document: Moose::Meta::Method::Delegation(3pm) from perl-moose 2.4001-r0 (Chainguard OS)
Source: https://github.com/moose/Moose
