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

Bug#1003709: ITP: libclass-tiny-antlers-perl -- Moose-like sugar for Class::Tiny



Package: wnpp
Severity: wishlist
Owner: Doug Torrance <dtorrance@piedmont.edu>
X-Debbugs-Cc: debian-devel@lists.debian.org, dtorrance@piedmont.edu

* Package name    : libclass-tiny-antlers-perl
 Version         : 0.024
 Upstream Author : Toby Inkster <tobyink@cpan.org>
* URL             : https://metacpan.org/release/Class-Tiny-Antlers
* License         : GPL/Artistic
 Programming Lang: Perl
 Description     : Moose-like sugar for Class::Tiny

Class::Tiny::Antlers provides Moose-like has, extends, with, before, after
and around keywords for Class::Tiny. (The with keyword requires Role::Tiny;
method modifiers require Class::Method::Modifiers.)

Class::Tiny doesn't support all Moose's attribute options; has should throw
you an error if you try to do something it doesn't support (like triggers).

Class::Tiny::Antlers does however hack in support for is => 'ro' and
Moo-style is => 'rwp', clearers and predicates.

From version 0.24, Class::Tiny::Antlers also adds support for `isa` and
`coerce` using Type::Tiny. (I mean, this is a TOBYINK module, so what do you
expect?!) Technically MooseX::Types, MouseX::Types, Specio, and Type::Nano
should work, but these are less tested.

I intend to maintain this package under the umbrella of the Debian Perl Team.

Attachment: signature.asc
Description: PGP signature


Reply to: