Stevan Little > Class-MOP-0.26 > Class::MOP::Method

Download:
Class-MOP-0.26.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  2
View Bugs
Report a bug
Module Version: 0.02   Source   Latest Release: Class-MOP-0.95

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 ^

Introspection

meta

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

Construction

wrap (&code)

This simply blesses the &code reference passed to it.

Informational

name
package_name
fully_qualified_name

Class::MOP::Method::Wrapped METHODS ^

Construction

wrap (&code)

This simply blesses the &code reference passed to it.

Modifiers

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

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.