Stevan Little > Moose > Moose::Meta::Method::Augmented

Download:
Moose-1.00.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  10
Open  39
Stalled  5
View/Report Bugs
Module Version: 1.00   Source   Latest Release: Moose-2.1210

NAME ^

Moose::Meta::Method::Augmented - A Moose Method metaclass for augmented methods

DESCRIPTION ^

This class implements method augmentation logic for the Moose augment keyword.

The augmentation subroutine reference will be invoked explicitly using the inner keyword from the parent class's method definition.

INHERITANCE ^

Moose::Meta::Method::Augmented is a subclass of Moose::Meta::Method.

METHODS ^

Moose::Meta::Method::Augmented->new(%options)

This constructs a new object. It accepts the following options:

  • class

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

  • name

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

  • method

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

BUGS ^

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

AUTHOR ^

Yuval Kogman <nothingmuch@cpan.org>

COPYRIGHT AND LICENSE ^

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.

syntax highlighting: