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.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

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


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libmoosex-attributeshortcuts-perl