Skip to content
Sections
>> Trisquel >> Balíky >> nabia >> perl >> libmoox-traits-perl
nabia  ] [  aramo  ]
[ Zdroj: libmoox-traits-perl  ]

Balík: 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.

Ostatné balíky súvisiace s balíkom libmoox-traits-perl

  • závisí
  • odporúča
  • navrhuje

Stiahnuť libmoox-traits-perl

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 11.5 kB34 kB [zoznam súborov]