1 package MooseX::Role::WithOverloading::Meta::Role::Application::Composite;
5 # ABSTRACT: Roles which support overloading
8 use namespace::autoclean;
10 with 'MooseX::Role::WithOverloading::Meta::Role::Application';
12 around apply_overloading => sub {
13 my ($next, $self, $composite, $other) = @_;
14 for my $role (@{ $composite->get_roles }) {
15 $self->$next($role, $other);
26 MooseX::Role::WithOverloading::Meta::Role::Application::Composite - Roles which support overloading
34 Florian Ragwitz <rafl@debian.org>
35 Tomas Doran <bobtfish@bobtfish.net>
37 =head1 COPYRIGHT AND LICENSE
39 This software is copyright (c) 2009 by Florian Ragwitz.
41 This is free software; you can redistribute it and/or modify it under
42 the same terms as the Perl 5 programming language system itself.