Scroll to navigation

Moose::Meta::Method::Augmented(3) User Contributed Perl Documentation Moose::Meta::Method::Augmented(3)

NAME

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

VERSION

version 2.2207

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.

AUTHORS

  • Stevan Little <stevan@cpan.org>
  • Dave Rolsky <autarch@urth.org>
  • Jesse Luehrs <doy@cpan.org>
  • Shawn M Moore <sartak@cpan.org>
  • יובל קוג'מן (Yuval Kogman) <nothingmuch@woobling.org>
  • Karen Etheridge <ether@cpan.org>
  • Florian Ragwitz <rafl@debian.org>
  • Hans Dieter Pearcey <hdp@cpan.org>
  • Chris Prather <chris@prather.org>
  • Matt S Trout <mstrout@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2006 by Infinity Interactive, Inc.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2024-01-21 perl v5.40.0