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

套件: libmoosex-role-parameterized-perl (1.10-1)

Moose extension providing parameterized roles

MooseX::Role::Parameterized is a Moose extension that consists of two things: parameter declarations and a role block.

Parameters are declared using the "parameter" keyword which resembles Moose's "has", even supporting any option that "has" accepts. You can use any option that "has" accepts. The default value for the "is" option is read-only, as that's a very common case. These parameters will get their values when the consuming class (or role) uses Moose's "with". A parameter object will be constructed with these values, and passed to the role block.

其他與 libmoosex-role-parameterized-perl 有關的套件

  • 依賴
  • 推薦
  • 建議

下載 libmoosex-role-parameterized-perl

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