MooseX::Types::Combine - Combine type libraries for exporting
version 0.30
package CombinedTypeLib; use base 'MooseX::Types::Combine'; __PACKAGE__->provide_types_from(qw/TypeLib1 TypeLib2/); package UserClass; use CombinedTypeLib qw/Type1 Type2 ... /;
Allows you to export types from multiple type libraries.
Libraries on the right side of the type libs passed to "provide_types_from" take precedence over those on the left in case of conflicts.
Sets or returns a list of type libraries to re-export from.
MooseX::Types
This program is free software; you can redistribute it and/or modify it under the same terms as perl itself.
Robert "phaylon" Sedlacek <rs@474.at>
This software is copyright (c) 2011 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.
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.