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

p5-MooX-Traits

0.005_1

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.

Origin: devel/p5-MooX-Traits
Category: devel
Size: 13.9KiB
License: ARTPERL10
Maintainer: perl@FreeBSD.org
Dependencies: 5 packages
Required by: 3 packages
$pkg install p5-MooX-Traits

Dependencies (5)

Required By (3 packages)

More in devel