MooX-ClassAttribute
declare class attributes Moose-style... but without Moose
This module adds support for class attributes to Moo. Class attributes are attributes whose values are not associated with any particular instance of the class. For example, the Person class might have a class attribute "binomial_name"; its value "Homo sapiens" is not associated with any particular individual, but the class as a whole. Class attributes may be defined in roles, however they cannot be called as methods using the role package name. Instead the role must be composed with a class; the class attributes will be installed into that class. This module mostly tries to behave like MooseX::ClassAttribute.
cpan: MooX::ClassAttribute cpan-module: Method::Generate::ClassAccessor cpan-module: MooX::CaptainHook cpan-module: MooX::ClassAttribute cpan-module: MooX::ClassAttribute::HandleMoose
Available in
| Overlay | Newest | Ebuilds | Last activity | |
|---|---|---|---|---|
| ledgersmb GitHub ↗ | 0.11.0 | 1 | 2 yr | details › |