MooseX::Types::Base - Type library base class
You normally won't need to interact with this class by yourself. It is merely a
collection of functionality that type libraries need to interact with moose
and the rest of the MooseX::Types module.
Provides the import mechanism for your library. See "LIBRARY USAGE" in
MooseX::Types for syntax details on this.
This returns a type from the library's store by its name.
Returns a list of all known types by their name.
Adds a new type to the library.
Returns true or false depending on if this library knows a type by that name.
Returns the library's type storage hash reference. You shouldn't use this method
directly unless you know what you are doing. It is not an internal method
because overriding it makes virtual libraries very easy.
Returns the class types registered within this library. Don't use directly.
Register a "class_type" for use in this library by class name.
Get a "class_type" registered in this library by name.
Returns the role types registered within this library. Don't use directly.
Register a "role_type" for use in this library by role name.
Get a "role_type" registered in this library by role name.
Bugs may be submitted through the RT bug tracker
There is also a mailing list available for users of this distribution, at
There is also an irc channel available for users of this distribution, at
"#moose" on "irc.perl.org"
Robert "phaylon" Sedlacek <email@example.com>
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.