FreeBSD.software
Home/devel/p5-MouseX-Traits

p5-MouseX-Traits

0.1102_1devel

Automatically apply roles at object creation time

Often you want to create components that can be added to a class arbitrarily. MouseX::Traits 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.

$pkg install p5-MouseX-Traits
metacpan.org/release/MouseX-Traits
Origin
devel/p5-MouseX-Traits
Size
14.5KiB
License
ART10, GPLv1+
Maintainer
sunpoet@FreeBSD.org
Dependencies
2 packages
Required by
1 packages

Dependencies (2)

Required By (1)