NAME Catalyst::View::MicroMason - MicroMason View Class SYNOPSIS # use the helper create.pl view MicroMason MicroMason # lib/MyApp/View/MicroMason.pm package MyApp::View::MicroMason; use base 'Catalyst::View::MicroMason'; __PACKAGE__->config( template_root => '/path/to/comp_root' ); 1; # Meanwhile, maybe in an 'end' action $c->forward('MyApp::View::MicroMason'); DESCRIPTION This is the "MicroMason" view class. Your subclass should inherit from this class. METHODS new The constructor for the MicroMason view. process Renders the template specified in "$c->stash->{template}" or "$c->request->match". Template arguments are $c. Output is stored in "$c->response->body". config This allows your view subclass to pass additional settings to the MicroMasonl config hash. SEE ALSO Text::MicroMason, Catalyst, Catalyst::Base. AUTHOR Jonas Alves, "jgda@cpan.org" COPYRIGHT This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.