| CatalystX-MooseComponent documentation | view source | Contained in the CatalystX-MooseComponent distribution. |
version 0.004
package MyApp::Controller::Foo;
use Moose;
BEGIN { extends 'Catalyst::Controller' }
use CatalystX::MooseComponent;
# My::CatalystComponent now isa Moose::Object
This module lets you write Catalyst components that are Moose objects without
worrying about whether Catalyst::Component is Moose-based or not (Catalyst 5.7
vs. 5.8). It handles pulling in global application configuration and adding
Moose::Object to your component's superclasses.
Called automatically by import to set up the proper superclasses and wrap
new().
Hans Dieter Pearcey <hdp@cpan.org>
This software is copyright (c) 2009 by Hans Dieter Pearcey.
This is free software; you can redistribute it and/or modify it under the same terms as perl itself.
Catalyst-Runtime 5.71001 obsoletes this module. Depend on it instead.
Based on code from Catalyst::Controller::ActionRole by Florian Ragwitz <rafl@debian.org>.
| CatalystX-MooseComponent documentation | view source | Contained in the CatalystX-MooseComponent distribution. |