Skip to content
Sections
>> Trisquel >> Pakete >> nabia >> perl >> libmoox-traits-perl
nabia  ] [  aramo  ]
[ Quellcode: libmoox-traits-perl  ]

Paket: 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.

Andere Pakete mit Bezug zu libmoox-traits-perl

  • hängt ab von
  • empfiehlt
  • schlägt vor

libmoox-traits-perl herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 11,5 kB34 kB [Liste der Dateien]