MooX::Role::Parameterized:With - dsl to apply roles with composition parameters
package FooWith;
use Moo;
use MooX::Role::Parameterized::With Bar => {
attr => 'baz',
method => 'run'
}, Other::Role => { ... };
has foo => ( is => 'ro');
This experimental package try to offer an easy way to add parametrized
roles.
Will load and apply MooX::Roles::Parameterized roles, just need
use this package with a hash of role => parameters.
Tiago Peczenyj <tiago (dot) peczenyj (at) gmail (dot) com>
Please report any bugs or feature requests on the bugtracker website