1 package MooseX::Role::WithOverloading::Meta::Role::Application::ToRole;
5 # ABSTRACT: Roles which support overloading
8 use aliased 'MooseX::Role::WithOverloading::Meta::Role::Application::ToClass';
9 use aliased 'MooseX::Role::WithOverloading::Meta::Role::Application::ToInstance';
10 use namespace::autoclean;
12 with 'MooseX::Role::WithOverloading::Meta::Role::Application';
15 my ($next, $self, $role1, $role2) = @_;
18 Moose::Util::MetaRole::apply_metaclass_roles(
20 application_to_class_class_roles => [ ToClass ],
21 application_to_role_class_roles => [ __PACKAGE__ ],
22 application_to_instance_class_roles => [ ToInstance ],
34 MooseX::Role::WithOverloading::Meta::Role::Application::ToRole - Roles which support overloading
42 Florian Ragwitz <rafl@debian.org>
43 Tomas Doran <bobtfish@bobtfish.net>
45 =head1 COPYRIGHT AND LICENSE
47 This software is copyright (c) 2009 by Florian Ragwitz.
49 This is free software; you can redistribute it and/or modify it under
50 the same terms as the Perl 5 programming language system itself.