Prior to namespace registration, running this by modules@

A role which, when applied to a Moose class, allows additional roles to
be applied to objects of that class via a constructor argument.

SYNOPSIS

    package Foo;
    use Moose;
    with 'MooseX::Role::ConstructorRoleApplication';

    # construct a Foo that also does My::Role and My::OtherRole
    my $foo = Foo->new(apply => ['My::Role', 'My::OtherRole']);

Attachment: pgpUHBkXOa0Gc.pgp
Description: PGP signature

Reply via email to