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  -  MOOSEX::TYPES::TYPEDECORATOR (3)

.ds Aq ’

NAME

MooseX::Types::TypeDecorator - Wraps Moose::Meta::TypeConstraint objects with added features

CONTENTS

VERSION

version 0.46

DESCRIPTION

This is a decorator object that contains an underlying type constraint. We use this to control access to the type constraint and to add some features.

METHODS

This class defines the following methods.

    new

Old school instantiation

    __type_constraint ($type_constraint)

Set/Get the type_constraint.

CWisa

handle $self->isa since AUTOLOAD can’t - this tries both the type constraint, and for a class type, the class.

    can

handle $self->can since AUTOLOAD can’t.

    _throw_error

properly delegate error messages

    DESTROY

We might need it later

    AUTOLOAD

Delegate to the decorator target, unless this is a class type, in which case it will try to delegate to the type object, then if that fails try the class. The method ’new’ is special cased to only be permitted on the class; if there is no class, or it does not provide a new method, an exception will be thrown.

AUTHOR

Robert phaylon Sedlacek <rs@474.at>

COPYRIGHT AND LICENSE

This software is copyright (c) 2007 by Robert phaylon Sedlacek.

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 MOOSEX::TYPES::TYPEDECORATOR (3) 2015-08-16

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