The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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