Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> perl >> libmoox-traits-perl
nabia  ] [  aramo  ]
[ 源代码: libmoox-traits-perl  ]

软件包: libmoox-traits-perl (0.005-1)

module to automatically apply roles at object creation time

Like MooseX::Traits, the MooX::Traits module provides a method to add some roles to a class when creating it (during new), only for Moo.

Although called MooX::Traits, this module actually uses Role::Tiny, so doesn't really require Moo. If you use it in a non-Moo class, you should be able to safely consume any Role::Tiny-based traits.

If you use it in a Moo class, you should also be able to consume Moo::Role-based traits and Moose::Role-based traits.

其他与 libmoox-traits-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议

下载 libmoox-traits-perl

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