Catalyst::View::HTML::Embperl - HTML::Embperl View Class
# use the helper create.pl view HTML::Embperl HTML::Embperl # lib/MyApp/View/HTML/Embperl.pm package MyApp::View::HTML::Embperl; use base 'Catalyst::View::HTML::Embperl'; 1; # Meanwhile, maybe in an 'end' action $c->forward('MyApp::View::HTML::Embperl');
This is the HTML::Embperl view class. Your subclass should inherit from this class.
HTML::Embperl
Renders the template specified in $c->stash->{template} or $c->request->match. Template params FDAT are set up from the contents of $c->req->parameters first, then overwritten by $c->stash. Global variables base set to $c->req->base, name to $c->config->{name} and c to Catalyst context. Output is stored in $c->response->body.
$c->stash->{template}
$c->request->match
$c->req->parameters
$c->stash
base
$c->req->base
name
$c->config->{name}
c
$c->response->body
HTML::Embperl, Catalyst, Catalyst::Base.
Aldo LeTellier, aldoletellier@bigfoot.com
aldoletellier@bigfoot.com
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install Catalyst::View::HTML::Embperl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::View::HTML::Embperl
CPAN shell
perl -MCPAN -e shell install Catalyst::View::HTML::Embperl
For more information on module installation, please visit the detailed CPAN module installation guide.