Implementation of Traits in Perl
DescriptionTraits are a simple composition mechanism for structuring object-oriented programs. A Trait is essentially a parameterized set of methods, which serves as a building block for classes and is the primitive unit of code reuse. Unlike mixins and multiple inheritance, Traits do not use inheritance as the composition operator. Instead, Trait composition is based on a set of operators that are complementary to single inheritance and result in better composition properties. Traits are a core part of Perl 6 (called Roles there), and Class::Trait implements traits for Perl 5.
Upload more screenshots
Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.Upload a screenshot
Hint: upload an image here from your clipboard with Ctrl-V
Install this software package
If the package is available for the distribution you are currently using on your computer then install the software by clicking on…Install libclass-trait-perl