Debian logoDebian Screenshots >

libmoosex-attributeshortcuts-perl

Moose extension providing shorthands for common attribute options

Description

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.

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.


Homepage

https://metacpan.org/release/MooseX-AttributeShortcuts


Statistics

530 other people were interested in this package here. The newest known version of this software is 0.037-1 (Information last updated 40 minutes ago.)