FreeBSD.software
Home/devel/p5-MooseX-AttributeShortcuts

p5-MooseX-AttributeShortcuts

0.037devel

Shorthand for common attribute options

Ever find 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?

$pkg install p5-MooseX-AttributeShortcuts
metacpan.org/release/MooseX-AttributeShortcuts
Origin
devel/p5-MooseX-AttributeShortcuts
Size
90.6KiB
License
LGPL21
Maintainer
perl@FreeBSD.org
Dependencies
9 packages
Required by
0 packages

Dependencies (9)