[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#708569: ITP: libmoosex-classattribute-perl -- module to declare class attributes Moose-style



Package: wnpp
Severity: wishlist
Owner: Oleg Gashev <oleg@gashev.net>

* Package name    : libmoosex-classattribute-perl
  Version         : 0.27
  Upstream Author : Dave Rolsky <autarch@urth.org>
* URL             : https://metacpan.org/release/MooseX-ClassAttribute/
* License         : Artistic-2.0
  Programming Lang: Perl
  Description     : module to declare class attributes Moose-style

 MooseX::ClassAttribute allows you to declare class attributes in exactly the
 same way as object attributes, using class_has() instead of has().
 .
 You can use any feature of Moose's attribute declarations, including
 overriding a parent's attributes, delegation (handles), attribute traits,
 etc. All features should just work. The one exception is the "required" flag,
 which is not allowed for class attributes.
 .
 The accessor methods for class attribute may be called on the class directly,
 or on objects of that class. Passing a class attribute to the constructor
 will not set that attribute.


Reply to: