MooseX::Declare::Syntax::RoleApplication(3pm) User Contributed Perl Documentation MooseX::Declare::Syntax::RoleApplication(3pm)

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

version 0.43

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

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

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

MooseX::Declare::Syntax::OptionHandling

Florian Ragwitz <rafl@debian.org>

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.

2015-08-16 perl v5.34.0