MooseX::Types::Combine.3pm

Langue: en

Autres versions - même langue

Version: 2009-05-14 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

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

SYNOPSIS

     package CombinedTypeLib;
 
     use base 'MooseX::Types::Combined';
 
     __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 side of the type libs 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

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as perl itself.