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

Langue: en

Version: 2009-06-06 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Moose::Meta::Role::Method::Required - A Moose metaclass for required methods in Roles

DESCRIPTION

INHERITANCE

"Moose::Meta::Role::Method::Required" is a subclass of Class::MOP::Object. It is not a subclass of "Moose::Meta::Role::Method" since it does not provide an implementation of the method.

METHODS

Moose::Meta::Role::Method::Required->new(%options)
This creates a new type constraint based on the provided %options:
name

The method name. This is required.

$method->name
Returns the required method's name, as provided to the constructor.

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

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