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 devel:languages:perl
- Devel package for openSUSE:Factory
- Links to openSUSE:Factory / perl-MooseX-Traits
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:Tomcat42/perl-MooseX-Traits && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
MooseX-Traits-0.11.tar.gz | 0000023071 22.5 KB | |
perl-MooseX-Traits.changes | 0000000452 452 Bytes | |
perl-MooseX-Traits.spec | 0000002182 2.13 KB |
Revision 5 (latest revision is 12)
Stephan Kulow (coolo)
committed
(revision 5)
always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
Comments 0