1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/devel/p5-MooX-Traits/pkg-descr
Ryan Steinmetz d423f031fb New port: devel/p5-MooX-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.

WWW: https://metacpan.org/release/MooX-Traits
2018-10-20 15:12:44 +00:00

8 lines
409 B
Plaintext

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.
WWW: https://metacpan.org/release/MooX-Traits