1MooseX::Types::TypeDecoUrsaetrorC(o3nptmr)ibuted Perl DoMcouomseenXt:a:tTiyopnes::TypeDecorator(3pm)
2
3
4

NAME

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

VERSION

10       version 0.50
11

DESCRIPTION

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

METHODS

18       This class defines the following methods.
19
20   new
21       Old school instantiation
22
23   __type_constraint ($type_constraint)
24       Set/Get the type_constraint.
25
26   "isa"
27       handle "$self->isa" since "AUTOLOAD" can't - this tries both the type
28       constraint, and for a class type, the class.
29
30   can
31       handle $self->can since AUTOLOAD can't.
32
33   _throw_error
34       properly delegate error messages
35
36   DESTROY
37       We might need it later
38
39   AUTOLOAD
40       Delegate to the decorator target, unless this is a class type, in which
41       case it will try to delegate to the type object, then if that fails try
42       the class. The method 'new' is special cased to only be permitted on
43       the class; if there is no class, or it does not provide a new method,
44       an exception will be thrown.
45

SUPPORT

47       Bugs may be submitted through the RT bug tracker
48       <https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Types> (or
49       bug-MooseX-Types@rt.cpan.org <mailto:bug-MooseX-Types@rt.cpan.org>).
50
51       There is also a mailing list available for users of this distribution,
52       at <http://lists.perl.org/list/moose.html>.
53
54       There is also an irc channel available for users of this distribution,
55       at "#moose" on "irc.perl.org" <irc://irc.perl.org/#moose>.
56

AUTHOR

58       Robert "phaylon" Sedlacek <rs@474.at>
59
61       This software is copyright (c) 2007 by Robert "phaylon" Sedlacek.
62
63       This is free software; you can redistribute it and/or modify it under
64       the same terms as the Perl 5 programming language system itself.
65
66
67
68perl v5.30.1                      2020-01-30 MooseX::Types::TypeDecorator(3pm)
Impressum