1Catalyst::View(3) User Contributed Perl Documentation Catalyst::View(3)
2
3
4
6 Catalyst::View - Catalyst View base class
7
9 package Catalyst::View::Homebrew;
10
11 use base qw/Catalyst::View/;
12
13 sub process {
14 # template processing goes here.
15 }
16
18 This is the Catalyst View base class. It's meant to be used as a base
19 class by Catalyst views.
20
21 As a convention, views are expected to read template names from
22 $c->stash->{template}, and put the output into $c->res->body. Some
23 views default to render a template named after the dispatched action's
24 private name. (See Catalyst::Action.)
25
27 Implements the same methods as other Catalyst components, see
28 Catalyst::Component
29
30 process
31 gives an error message about direct use.
32
34 Catalyst Contributors, see Catalyst.pm
35
37 This library is free software. You can redistribute it and/or modify it
38 under the same terms as Perl itself.
39
40
41
42perl v5.34.0 2021-07-22 Catalyst::View(3)