Catalyst::View::Embperl::Object - Embperl::Object View Class
# use the helper XXX TODO create.pl view Embperl::Object Epo # lib/MyApp/View/Epo.pm package MyApp::View::Epo; use base 'Catalyst::View::Embperl::Object'; __PACKAGE__->config( ); 1; # Meanwhile, maybe in an 'end' action $c->forward('MyApp::View::Epo');
This is the Embperl::Object view class. Your subclass should inherit from this class.
Embperl::Object
The constructor for the Embperl::Object view.
Renders the template specified in $c->stash->{template} Template arguments are $c. Output is stored in $c->response->body.
$c->stash->{template}
$c
$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
clb@2fp.net
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
To install Catalyst::View::Embperl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::View::Embperl
CPAN shell
perl -MCPAN -e shell install Catalyst::View::Embperl
For more information on module installation, please visit the detailed CPAN module installation guide.