[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#907822: ITP: libmoox-traits-perl -- module to automatically apply roles at object creation time



Package: wnpp
Owner: gregor herrmann <gregoa@debian.org>
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org, debian-perl@lists.debian.org

* Package name    : libmoox-traits-perl
  Version         : 0.005
  Upstream Author : Toby Inkster (TOBYINK) <tobyink@cpan.org>
* URL             : https://metacpan.org/release/MooX-Traits
* License         : Artistic or GPL-1+
  Programming Lang: Perl
  Description     : 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.

The package will be maintained under the umbrella of the Debian Perl Group.

--
Generated with the help of dpt-gen-itp(1) from pkg-perl-tools.

Attachment: signature.asc
Description: Digital Signature


Reply to: