Moose::Meta::Method::Overridden.3pm

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

Moose::Meta::Method::Overridden - A Moose Method metaclass for overridden methods

DESCRIPTION

This class implements method overriding logic for the Moose "override" keyword.

The overriding subroutine's parent will be invoked explicitly using the "super" keyword from the parent class's method definition.

METHODS

Moose::Meta::Method::Overridden->new(%options)
This constructs a new object. It accepts the following options:
*
class

The metaclass object for the class in which the override is being declared. This option is required.

*
name

The name of the method which we are overriding. This method must exist in one of the class's superclasses. This option is required.

*
method

The subroutine reference which implements the overriding. This option is required.

BUGS

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

AUTHOR

Yuval Kogman <nothingmuch@cpan.org> 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.