Moose::Meta::Role::Method::Conflicting.3pm

Langue: en

Version: 2010-06-15 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Moose::Meta::Role::Method::Conflicting - A Moose metaclass for conflicting methods in Roles

DESCRIPTION

INHERITANCE

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

METHODS

Moose::Meta::Role::Method::Conflicting->new(%options)
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->name
Returns the conflicting method's name, as provided to the constructor.
$method->roles
Returns the roles that generated this conflicting method, as provided to the constructor.
$method->roles_as_english_list
Returns the roles that generated this conflicting method as an English list.

BUGS

See ``BUGS'' in Moose for details on reporting bugs.

AUTHOR

Stevan Little <stevan@iinteractive.com> Copyright 2006-2010 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.