The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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

METHODS

wrap (&code)

This simply blesses the &code reference passed to it.

meta

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

AUTHOR

Stevan Little <stevan@iinteractive.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.