Template::Plugin::View(3pm)

Template::Plugin::View3pm

Plugin to create views (template::view)

Usage

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

Overview

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

Releases

13 releases since Debian 3.0 (Woody); the text changed 11 times.

  1. 3.0
  2. 3.1–4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8
  7. 9
  8. 10
  9. 11
  10. 12
  11. 13
  12. Arch

Author

Andy Wardley <[email protected]> <http://wardley.org/>

From perl-template-toolkit 3.106-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.