Catalyst::View::PSP - PSP View Class
# 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');
This is the
PSP view class. Your subclass should inherit from this class.
The constructor for the PSP view.
Renders the template specified in
$c->request->match. Template arguments are
$c. Output is stored in
This allows your view subclass to pass additional settings to the Petal config hash.
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.