Class::MOP::Method::Generated.3pm

Langue: en

Version: 2008-02-08 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

Class::MOP::Method::Generated - Abstract base class for generated methods

DESCRIPTION

This is a "Class::MOP::Method" subclass which is used interally by "Class::MOP::Method::Accessor" and "Class::MOP::Method::Constructor".

METHODS

new (%options)
This creates the method based on the criteria in %options, these options are:
is_inline
This is a boolean to indicate if the method should be generated as a closure, or as a more optimized inline version.
is_inline
This returns the boolean which was passed into "new".
initialize_body
This is an abstract method and will throw an exception if called.

AUTHORS

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.