GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CLASS::MOP::METHOD::WRAPPED (3)

.ds Aq ’

NAME

Class::MOP::Method::Wrapped - Method Meta Object for methods with before/after/around modifiers

CONTENTS

VERSION

version 2.1605

DESCRIPTION

This is a Class::MOP::Method subclass which implements before, after, and around method modifiers.

METHODS

Class::MOP::Method::Wrapped->wrap($metamethod, CW%options)

This is the constructor. It accepts a Class::MOP::Method object and a hash of options.

The options are:
o name

The method name (without a package name). This will be taken from the provided Class::MOP::Method object if it is not provided.

o package_name

The package name for the method. This will be taken from the provided Class::MOP::Method object if it is not provided.

o associated_metaclass

An optional Class::MOP::Class object. This is the metaclass for the method’s class.

CW$metamethod->get_original_method

This returns the Class::MOP::Method object that was passed to the constructor.

CW$metamethod->add_before_modifier($code)

CW$metamethod->add_after_modifier($code)

CW$metamethod->add_around_modifier($code)

These methods all take a subroutine reference and apply it as a modifier to the original method.

CW$metamethod->before_modifiers

CW$metamethod->after_modifiers

CW$metamethod->around_modifiers

These methods all return a list of subroutine references which are acting as the specified type of modifier.

AUTHORS

o Stevan Little <stevan.little@iinteractive.com>
o Dave Rolsky <autarch@urth.org>
o Jesse Luehrs <doy@tozt.net>
o Shawn M Moore <code@sartak.org>
o XXXX XXXXX (Yuval Kogman) <nothingmuch@woobling.org>
o Karen Etheridge <ether@cpan.org>
o Florian Ragwitz <rafl@debian.org>
o Hans Dieter Pearcey <hdp@weftsoar.net>
o Chris Prather <chris@prather.org>
o Matt S Trout <mst@shadowcat.co.uk>

COPYRIGHT AND LICENSE

This software is copyright (c) 2006 by Infinity Interactive, Inc.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CLASS::MOP::METHOD::WRAPPED (3) 2016-02-16

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.