Catalyst::Helper::View::PSP is a Perl helper for PSP Views.
SYNOPSIS
# use the helper
create.pl view PSP PSP
# lib/MyApp/View/PSP.pm
package MyApp::View::PSP;
use base 'Catalyst::View::PSP';
__PACKAGE__->config(
workdir => '/tmp/psp'
);
1;
# Meanwhile, maybe in an 'end' action
$c->forward('MyApp::View::PSP');
METHODS
new The constructor for the PSP 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 Petal config hash.
Product's homepage
Requirements:
· Perl