NAME

Class::MOP::Method - Method Meta Object

SYNOPSIS

# ... more to come later maybe

DESCRIPTION

The Method Protocol is very small, since methods in Perl 5 are just subroutines within the particular package. We provide a very basic introspection interface.

This also contains the Class::MOP::Method::Wrapped subclass, which provides the features for before, after and around method modifiers.

METHODS

Introspection

meta

This will return a Class::MOP::Class instance which is related to this class.

Construction

wrap (&code)

Informational

body
name
package_name
fully_qualified_name

Class::MOP::Method::Wrapped METHODS

Construction

wrap (&code)
get_original_method

Modifiers

add_before_modifier ($code)
add_after_modifier ($code)
add_around_modifier ($code)

AUTHORS

Stevan Little <stevan@iinteractive.com>

Yuval Kogman <nothingmuch@woobling.com>

COPYRIGHT AND LICENSE

Copyright 2006 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.