Class::MOP::Method - Method Meta Object 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.

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

Construction
This is the basic constructor, it returns a Class::MOP::Method instance which wraps the given $code reference. You must also set the "package_name" and "name" attributes in %params. This will make a copy of the object, allowing you to override any values by stuffing them in %params.

Informational
This returns the actual CODE reference of the particular instance. This returns the name of the CODE reference. The metaclass of the method This returns the package name that the CODE reference is attached to. This returns the fully qualified name of the CODE reference. If this method object was created as a clone of some other method object, this returns the object that was cloned. This returns the original name of the CODE reference, wherever it was first defined. If this method is a clone of a clone (of a clone, etc.), this method returns the name from the first method in the chain of clones. This returns the original package name that the CODE reference is attached to, wherever it was first defined. If this method is a clone of a clone (of a clone, etc.), this method returns the package name from the first method in the chain of clones. This returns the original fully qualified name of the CODE reference, wherever it was first defined. If this method is a clone of a clone (of a clone, etc.), this method returns the fully qualified name from the first method in the chain of clones.

Metaclass
Sets the associated metaclass Disassociates the method from the metaclass

Miscellaneous
Executes the method. Be sure to pass in the instance, since the method expects it. Stevan Little <stevan@iinteractive.com> Copyright 2006-2008 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.