1MooX::Role::ParameterizUesde:r:WCiotnht(r3i)buted Perl DMoocouXm:e:nRtoaltei:o:nParameterized::With(3)
2
3
4
6 MooX::Role::Parameterized:With - dsl to apply roles with composition
7 parameters
8
10 package FooWith;
11
12 use Moo;
13 use MooX::Role::Parameterized::With Bar => {
14 attr => 'baz',
15 method => 'run'
16 }, Other::Role => { ... };
17
18 has foo => ( is => 'ro');
19
21 This experimental package try to offer an easy way to add parametrized
22 roles.
23
24 Will load and apply MooX::Roles::Parameterized roles, just need use
25 this package with a hash of role => parameters.
26
28 Tiago Peczenyj <tiago (dot) peczenyj (at) gmail (dot) com>
29
31 Please report any bugs or feature requests on the bugtracker website
32
33
34
35perl v5.32.0 2020-07-28MooX::Role::Parameterized::With(3)