Moose::Meta::Role::Method::Conflicting(3) User Contributed Perl Documentation Moose::Meta::Role::Method::Conflicting(3)

# [DESCRIPTION](#DESCRIPTION)

# [INHERITANCE](#INHERITANCE)

"Moose::Meta::Role::Method::Conflicting" is a subclass of Moose::Meta::Role::Method::Required.

# [METHODS](#METHODS)

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

This creates a new type constraint based on the provided %options:

- name
  
  The method name. This is required.
- roles
  
  The list of role names that generated the conflict. This is required.

## [$method-&gt;name](#$method)

Returns the conflicting method's name, as provided to the constructor.

## [$method-&gt;roles](#$method~2)

Returns the roles that generated this conflicting method, as provided to the constructor.

## [$method-&gt;roles\_as\_english\_list](#$method~3)

Returns the roles that generated this conflicting method as an English list.

# [BUGS](#BUGS)

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

2026-10-01 perl v5.44.0

---

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