Automatically Apply Roles at Object Creation Time

Edit Package perl-MooseX-Traits
http://search.cpan.org/dist/MooseX-Traits

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.

Refresh
Refresh
Source Files
Filename Size Changed
MooseX-Traits-0.12.tar.gz 0000025520 24.9 KB
perl-MooseX-Traits.changes 0000000933 933 Bytes
perl-MooseX-Traits.spec 0000003352 3.27 KB
Latest Revision
Adrian Schröter's avatar Adrian Schröter (adrianSuSE) committed (revision 1)
Split 13.2 from Factory
Comments 0
openSUSE Build Service is sponsored by