freebsd-ports/devel/p5-Class-Mixin/pkg-descr
Mathieu Arnold 807440e5e0 Add p5-Class-Mixin 1.00, API for aliasing methods to/from other classes.
PR:		ports/180293
Submitted by:	Anes Mukhametov <anes@anes.su>
2013-11-15 13:48:38 +00:00

8 lines
419 B
Text

Class::Mixin provides a way to mix methods from one class into another,
such that the target class can use both its methods as well as those of
the source class.
The primary advantage is that the behavior of a class can be modified
to effectively be another class without changing any of the calling
code -- just requires using the new class that mixes into the original.
WWW: http://search.cpan.org/dist/Class-Mixin/