
Catalyst::View::Embperl - Embperl View Class

# use the helper (XXX TODO)
create.pl view Embperl Epl
# lib/MyApp/View/Epl.pm
package MyApp::View::Epl;
use base 'Catalyst::View::Embperl';
__PACKAGE__->config(
);
1;
# Meanwhile, maybe in an 'end' action
$c->forward('MyApp::View::Epl');

This is the Embperl view class. Your subclass should inherit from this class.
The constructor for the Embperl view.
Renders the template specified in $c->stash->{template} Template arguments are $c. Output is stored in $c->response->body.
This allows your view subclass to pass additional settings to the Embperl config hash.

Embperl, Catalyst, Catalyst::Base.

Christophe Le Bars, clb@2fp.net

This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.