1MooseX::Types::Base(3pmU)ser Contributed Perl DocumentatiMoonoseX::Types::Base(3pm)
2
3
4

NAME

6       MooseX::Types::Base - Type library base class
7

VERSION

9       version 0.50
10

DESCRIPTION

12       You normally won't need to interact with this class by yourself. It is
13       merely a collection of functionality that type libraries need to
14       interact with moose and the rest of the MooseX::Types module.
15

METHODS

17   import
18       Provides the import mechanism for your library. See "LIBRARY USAGE" in
19       MooseX::Types for syntax details on this.
20
21   get_type
22       This returns a type from the library's store by its name.
23
24   type_names
25       Returns a list of all known types by their name.
26
27   add_type
28       Adds a new type to the library.
29
30   has_type
31       Returns true or false depending on if this library knows a type by that
32       name.
33
34   type_storage
35       Returns the library's type storage hash reference. You shouldn't use
36       this method directly unless you know what you are doing. It is not an
37       internal method because overriding it makes virtual libraries very
38       easy.
39
40   registered_class_types
41       Returns the class types registered within this library. Don't use
42       directly.
43
44   register_class_type
45       Register a "class_type" for use in this library by class name.
46
47   get_registered_class_type
48       Get a "class_type" registered in this library by name.
49
50   registered_role_types
51       Returns the role types registered within this library. Don't use
52       directly.
53
54   register_role_type
55       Register a "role_type" for use in this library by role name.
56
57   get_registered_role_type
58       Get a "role_type" registered in this library by role name.
59

SEE ALSO

61       MooseX::Types::Moose
62

SUPPORT

64       Bugs may be submitted through the RT bug tracker
65       <https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Types> (or
66       bug-MooseX-Types@rt.cpan.org <mailto:bug-MooseX-Types@rt.cpan.org>).
67
68       There is also a mailing list available for users of this distribution,
69       at <http://lists.perl.org/list/moose.html>.
70
71       There is also an irc channel available for users of this distribution,
72       at "#moose" on "irc.perl.org" <irc://irc.perl.org/#moose>.
73

AUTHOR

75       Robert "phaylon" Sedlacek <rs@474.at>
76
78       This software is copyright (c) 2007 by Robert "phaylon" Sedlacek.
79
80       This is free software; you can redistribute it and/or modify it under
81       the same terms as the Perl 5 programming language system itself.
82
83
84
85perl v5.36.0                      2022-07-22          MooseX::Types::Base(3pm)
Impressum