Scroll to navigation

MooseX::Types::Combine(3pm) User Contributed Perl Documentation MooseX::Types::Combine(3pm)
 

NAME

MooseX::Types::Combine - Combine type libraries for exporting

VERSION

version 0.45

SYNOPSIS

    package CombinedTypeLib;
    use base 'MooseX::Types::Combine';
    __PACKAGE__->provide_types_from(qw/TypeLib1 TypeLib2/);
    package UserClass;
    use CombinedTypeLib qw/Type1 Type2 ... /;

DESCRIPTION

Allows you to export types from multiple type libraries.
Libraries on the right end of the list passed to "provide_types_from" take precedence over those on the left in case of conflicts.

CLASS METHODS

provide_types_from

Sets or returns a list of type libraries to re-export from.

SEE ALSO

MooseX::Types

AUTHOR

Robert "phaylon" Sedlacek <rs@474.at>

COPYRIGHT AND LICENSE

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.
2014-09-02 perl v5.20.1