The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

MooseX::Declare::Syntax::RoleApplication - Handle user specified roles

DESCRIPTION

This role extends MooseX::Declare::Syntax::OptionHandling and provides a with|/add_with_option_customizations option.

CONSUMES

METHODS

add_with_option_customizations

  Object->add_with_option_customizations (
      Object   $context,
      Str      $package,
      ArrayRef $roles,
      HashRef  $options
  )

This will add a call to with in the scope code.

SEE ALSO

AUTHOR, COPYRIGHT & LICENSE

See MooseX::Declare