MooseX::Declare::Syntax::RoleApplication(3p)

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

VERSION
version 0.43

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

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.

CONSUMES

•   MooseX::Declare::Syntax::OptionHandling

SEE ALSO

•   MooseX::Declare

•   MooseX::Declare::Syntax::OptionHandling

AUTHOR
Florian Ragwitz <rafl@debian.org>

COPYRIGHT AND LICENSE
This software is copyright (c) 2008 by Florian Ragwitz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.