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

Bug#658838: ITP: libmoosex-attributeshortcuts-perl -- Moose extension providing shorthands for common attribute options



Package: wnpp
Severity: wishlist
Owner: Alessandro Ghedini <al3xbio@gmail.com>

* Package name    : libmoosex-attributeshortcuts-perl
  Version         : 0.008
  Upstream Author : Chris Weyl <cweyl@alumni.drew.edu>
* URL             : http://search.cpan.org/dist/MooseX-AttributeShortcuts/
* License         : LGPL-2.1
  Programming Lang: Perl
  Description     : Moose extension providing shorthands for common attribute options

 Ever found yourself repeatedly specifying writers and builders, because
 there's no good shortcut to specifying them? Sometimes you want an 
 attribute to have a read-only public interface, but a private writer. And
 wouldn't it be easier to just say "builder => 1" and have the attribute 
 construct the canonical "_build_$name" builder name for you?
 .
 MooseX::AttributeShortcuts causes an attribute trait to be applied to all 
 attributes  defined to the using class. This trait extends the attribute 
 option processing to handle the above variations. 

Note that this is needed by the new version libdist-zilla-plugin-git-perl.



Reply to: