1Template::Plugin::View(U3s)er Contributed Perl DocumentatTieomnplate::Plugin::View(3)
2
3
4

NAME

6       Template::Plugin::View - Plugin to create views (Template::View)
7

SYNOPSIS

9           [% USE view(
10                   prefix = 'splash/'          # template prefix/suffix
11                   suffix = '.tt2'
12                   bgcol  = '#ffffff'          # and any other variables you
13                   style  = 'Fancy HTML'       # care to define as view metadata,
14                   items  = [ foo, bar.baz ]   # including complex data and
15                   foo    = bar ? baz : x.y.z  # expressions
16           %]
17
18           [% view.title %]                    # access view metadata
19
20           [% view.header(title = 'Foo!') %]   # view "methods" process blocks or
21           [% view.footer %]                   # templates with prefix/suffix added
22

DESCRIPTION

24       This plugin module creates Template::View objects.  Views are an
25       experimental feature and are subject to change in the near future.  In
26       the mean time, please consult Template::View for further info.
27

AUTHOR

29       Andy Wardley <abw@wardley.org> <http://wardley.org/>
30
32       Copyright (C) 1996-2007 Andy Wardley.  All Rights Reserved.
33
34       This module is free software; you can redistribute it and/or modify it
35       under the same terms as Perl itself.
36

SEE ALSO

38       Template::Plugin, Template::View, Template::Manual::Views
39
40
41
42perl v5.36.0                      2022-07-22         Template::Plugin::View(3)
Impressum