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.
MooseX::Types::Moose
Robert 'phaylon' Sedlacek <rs@474.at>, with many thanks to the #moose cabal on irc.perl.org.
<rs@474.at>
#moose
irc.perl.org
This program is free software; you can redistribute it and/or modify it under the same terms as perl itself.
To install MooseX::Types, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooseX::Types
CPAN shell
perl -MCPAN -e shell install MooseX::Types
For more information on module installation, please visit the detailed CPAN module installation guide.