Acme-CPANModules-Roles
view release on metacpan or search on metacpan
NAME
Acme::CPANModules::Roles - List of libraries for doing roles with Perl
VERSION
This document describes version 0.002 of Acme::CPANModules::Roles (from
Perl distribution Acme-CPANModules-Roles), released on 2023-10-31.
DESCRIPTION
Roles are a way to write classes by composing them from simpler
components, instead of using inheritance from parent classes.
The Perl core does not provide a role mechanism for you, but there are
several role frameworks you can choose in Perl. This list orders them
from the most lightweight.
Role::Tiny. Basic role support plus method modifiers ("before", "after",
"around").
Moo::Role. Based on Role::Tiny, it adds attribute support. Suitable if
you use Moo as your object system.
lib/Acme/CPANModules/Roles.pm view on Meta::CPAN
our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
our $DATE = '2023-10-31'; # DATE
our $DIST = 'Acme-CPANModules-Roles'; # DIST
our $VERSION = '0.002'; # VERSION
our $LIST = {
summary => "List of libraries for doing roles with Perl",
description => <<'_',
Roles are a way to write classes by composing them from simpler components,
instead of using inheritance from parent classes.
The Perl core does not provide a role mechanism for you, but there are several
role frameworks you can choose in Perl. This list orders them from the most
lightweight.
<pm:Role::Tiny>. Basic role support plus method modifiers (`before`, `after`,
`around`).
<pm:Moo::Role>. Based on Role::Tiny, it adds attribute support. Suitable if you
use <pm:Moo> as your object system.
lib/Acme/CPANModules/Roles.pm view on Meta::CPAN
Acme::CPANModules::Roles - List of libraries for doing roles with Perl
=head1 VERSION
This document describes version 0.002 of Acme::CPANModules::Roles (from Perl distribution Acme-CPANModules-Roles), released on 2023-10-31.
=head1 DESCRIPTION
Roles are a way to write classes by composing them from simpler components,
instead of using inheritance from parent classes.
The Perl core does not provide a role mechanism for you, but there are several
role frameworks you can choose in Perl. This list orders them from the most
lightweight.
L<Role::Tiny>. Basic role support plus method modifiers (C<before>, C<after>,
C<around>).
L<Moo::Role>. Based on Role::Tiny, it adds attribute support. Suitable if you
use L<Moo> as your object system.
( run in 0.496 second using v1.01-cache-2.11-cpan-4d50c553e7e )