Description
p5-MooX-Traits - Automatically apply roles at object creation time
Property | Value |
---|---|
Distribution | FreeBSD 12 |
Repository | FreeBSD Ports Quarterly i386 |
Package filename | p5-MooX-Traits-0.005_1.txz |
Package name | p5-MooX-Traits |
Package version | 0.005 |
Package release | 1 |
Package architecture | i386 |
Package type | txz |
Category | devel perl5 |
Homepage | https://metacpan.org/release/MooX-Traits |
License | ARTPERL10 |
Maintainer | perl@FreeBSD.org |
Download size | 9.42 KB |
Installed size | 14.38 KB |
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
Alternatives
Package | Version | Architecture | Repository |
---|---|---|---|
p5-MooX-Traits-0.005_1.txz | 0.005 | amd64 | FreeBSD Ports Quarterly |
p5-MooX-Traits-0.005_1.txz | 0.005 | amd64 | FreeBSD Ports Latest |
p5-MooX-Traits-0.005_1.txz | 0.005 | i386 | FreeBSD Ports Latest |
p5-MooX-Traits | - | - | - |
Requires
Name | Value |
---|---|
p5-Exporter-Tiny | = 1.002001 |
p5-Module-Runtime | = 0.016 |
p5-Moo | = 2.003004 |
p5-Role-Tiny | = 2.000006 |
perl5 | = 5.28.1_1 |
Download
Type | URL |
---|---|
Mirror | pkg.freebsd.org |
Binary Package | p5-MooX-Traits-0.005_1.txz |
Source Package | devel/p5-MooX-Traits |
Install Howto
Install p5-MooX-Traits txz package:
# pkg install p5-MooX-Traits
See Also
Package | Description |
---|---|
p5-MooX-TypeTiny-0.001003.txz | Optimized type checks for Moo + Type::Tiny |
p5-MooX-Types-MooseLike-0.29.txz | Some Moosish types and a typer builder |
p5-MooX-Types-MooseLike-Numeric-1.03.txz | Moo types for numbers |
p5-MooX-late-0.015_1.txz | Perl extension to easily translate Moose code to Moo |
p5-Moos-0.30_1.txz | Moo s{imple,peedy,ingle} |
p5-Moose-2.2011,1.txz | Complete modern object system for Perl 5 |
p5-Moose-Autobox-0.15_1.txz | Autoboxed wrappers for Native Perl datatypes |
p5-Moose-Policy-0.05_1.txz | Moose-mounted police |
p5-Moose-Test-0.01_1.txz | Test Runner for the Moose test suite |
p5-MooseX-Aliases-0.11_1.txz | Easy aliasing of methods and attributes in Moose |
p5-MooseX-App-1.41.txz | Write user-friendly command line apps with even less suffering |
p5-MooseX-App-Cmd-0.32.txz | Mashes up MooseX::Getopt and App::Cmd |
p5-MooseX-ArrayRef-0.005.txz | Moose blessed array references |
p5-MooseX-Async-0.07_1.txz | The Orphanange of Asynchronous Love Children |
p5-MooseX-Attribute-Chained-1.0.3.txz | Attribute that returns the instance to allow for chaining |
Advertisement
Advertisement