The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

CatalystX::RoleApplicator - apply roles to your Catalyst application-related classes

VERSION

version 0.005

SYNOPSIS

package MyApp;

use base 'Catalyst';
use Catalyst;
use CatalystX::RoleApplicator;

__PACKAGE__->apply_request_class_roles(
  qw/My::Request::Role Other::Request::Role/
);

DESCRIPTION

CatalystX::RoleApplicator makes it easy for you to apply roles to all the various classes that your Catalyst application uses.

METHODS

apply_request_class_roles

apply_response_class_roles

apply_engine_class_roles

apply_dispatcher_class_roles

apply_stats_class_roles

Apply the named roles to one of the classes your application uses.

init_meta

Apply the Moose extensions that power this class.

AUTHOR

Hans Dieter Pearcey <hdp@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2009 by Hans Dieter Pearcey <hdp@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as perl itself.