Class::MOP::Method - Method Meta Object
# ... more to come later maybe
The Method Protocol is very small, since methods in Perl 5 are just subroutines within the particular package. Basically all we do is to bless the subroutine.
Currently this package is largely unused. Future plans are to provide some very simple introspection methods for the methods themselves. Suggestions for this are welcome.
This simply blesses the &code reference passed to it.
&code
This will return a Class::MOP::Class instance which is related to this class.
Stevan Little <stevan@iinteractive.com>
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.
To install Class::MOP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Class::MOP
CPAN shell
perl -MCPAN -e shell install Class::MOP
For more information on module installation, please visit the detailed CPAN module installation guide.