Automatically Apply Roles at Object Creation Time
Often you want to create components that can be added to a class arbitrarily. This module makes it easy for the end user to use these components. Instead of requiring the user to create a named class with the desired roles applied, or apply roles to the instance one-by-one, he can just create a new class from yours with "with_traits", and then instantiate that.
Source Files
(show merged sources derived from linked package)
Filename | Size | Changed | Actions |
---|---|---|---|
MooseX-Traits-0.13.tar.gz | 000003168830.9 KB | 1439715375over 2 years ago | ![]() |
_link | 0000000128128 Bytes | 1480922954over 1 year ago | ![]() |
cpanspec.yml | 0000000547547 Bytes | 1439715376over 2 years ago | ![]() |
perl-MooseX-Traits.changes | 00000012041.18 KB | 1439975893over 2 years ago | ![]() |
perl-MooseX-Traits.spec | 00000031333.06 KB | 1439715376over 2 years ago | ![]() |