Rechercher une page de manuel
Class::MOP::Method.3pm
Langue: en
Version: 2008-02-08 (mandriva - 01/05/08)
Section: 3 (Bibliothèques de fonctions)
NAME
Class::MOP::Method - Method Meta ObjectDESCRIPTION
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.METHODS
Introspection
- meta
- This will return a Class::MOP::Class instance which is related to this class.
Construction
- wrap ($code)
- This is the basic constructor, it returns a Class::MOP::Method instance which wraps the given $code reference.
Informational
- body
- This returns the actual CODE reference of the particular instance.
- name
- This returns the name of the CODE reference.
- package_name
- This returns the package name that the CODE reference is attached to.
- fully_qualified_name
- This returns the fully qualified name of the CODE reference.
AUTHORS
Stevan Little <stevan@iinteractive.com>COPYRIGHT AND LICENSE
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.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre