MooseX::Declare::Syntax::RoleApplication - Handle user specified roles
This role extends MooseX::Declare::Syntax::OptionHandling and provides a with|/add_with_option_customizations option.
with|/add_with_option_customizations
MooseX::Declare::Syntax::OptionHandling
Object->add_with_option_customizations ( Object $context, Str $package, ArrayRef $roles, HashRef $options )
This will add a call to with in the scope code.
with
MooseX::Declare
See MooseX::Declare
To install MooseX::Declare, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooseX::Declare
CPAN shell
perl -MCPAN -e shell install MooseX::Declare
For more information on module installation, please visit the detailed CPAN module installation guide.