Sophie

Sophie

distrib > Mageia > 2 > i586 > by-pkgid > 8e4e0b8c088435e5839a80222693780e

perl-MooseX-AttributeShortcuts-0.8.0-1.mga2.noarch.rpm

Description:

Ever find yourself repeatedly specifing 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?

This package 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.

Sources packages:

Other version of this rpm: