Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> perl >> libmoosex-attributeshortcuts-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libmoosex-attributeshortcuts-perl  ]

套件: libmoosex-attributeshortcuts-perl (0.037-1)

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.

其他與 libmoosex-attributeshortcuts-perl 有關的套件

  • 依賴
  • 推薦
  • 建議

下載 libmoosex-attributeshortcuts-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 32.7 kB90 kB [文件列表]