1MooseX::Types::Combine(U3s)er Contributed Perl DocumentatMiooonseX::Types::Combine(3)
2
3
4

NAME

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

SYNOPSIS

9           package CombinedTypeLib;
10
11           use base 'MooseX::Types::Combine';
12
13           __PACKAGE__->provide_types_from(qw/TypeLib1 TypeLib2/);
14
15           package UserClass;
16
17           use CombinedTypeLib qw/Type1 Type2 ... /;
18

DESCRIPTION

20       Allows you to export types from multiple type libraries.
21
22       Libraries on the right side of the type libs passed to
23       "provide_types_from" take precedence over those on the left in case of
24       conflicts.
25

CLASS METHODS

27   provide_types_from
28       Sets or returns a list of type libraries to re-export from.
29

SEE ALSO

31       MooseX::Types
32

AUTHOR

34       See "AUTHOR" in MooseX::Types.
35

LICENSE

37       This program is free software; you can redistribute it and/or modify it
38       under the same terms as perl itself.
39
40
41
42perl v5.12.1                      2010-06-01         MooseX::Types::Combine(3)
Impressum