Skip to content
Sections
>> Trisquel >> 软件包 >> aramo >> perl >> libmoosex-oneargnew-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: libmoosex-oneargnew-perl  ]

软件包: libmoosex-oneargnew-perl (0.005-1)

Moose role that extends class' constructor to accept single arguments

MooseX::OneArgNew lets your constructor take a single argument, which will be translated into the value for a one-entry hashref. It is a parameterized role with two parameters:

 * type - The Moose type that the single argument must be for the one-arg form
   to work. This should be an existing type, and may be either a string type or
   a MooseX::Type.
 * init_arg - This is the string that will be used as the key for the hashref
   constructed from the one-arg call to new.

其他与 libmoosex-oneargnew-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议

下载 libmoosex-oneargnew-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 6.8 kB22 kB [文件列表]