Automatically Apply Roles at Object Creation Time
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.
- Sources inherited from project openSUSE:Backports:SLE-15-SP4
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:15.4:Update/perl-MooseX-Traits && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
MooseX-Traits-0.13.tar.gz | 0000031688 30.9 KB | |
cpanspec.yml | 0000000547 547 Bytes | |
perl-MooseX-Traits.changes | 0000001204 1.18 KB | |
perl-MooseX-Traits.spec | 0000003133 3.06 KB |
Comments 0