{
    "mode": "perldoc",
    "parameter": "Template::Plugin::View",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Template%3A%3APlugin%3A%3AView/json",
    "generated": "2026-06-13T11:28:26Z",
    "synopsis": "[% USE view(\nprefix = 'splash/'          # template prefix/suffix\nsuffix = '.tt2'\nbgcol  = '#ffffff'          # and any other variables you\nstyle  = 'Fancy HTML'       # care to define as view metadata,\nitems  = [ foo, bar.baz ]   # including complex data and\nfoo    = bar ? baz : x.y.z  # expressions\n%]\n[% view.title %]                    # access view metadata\n[% view.header(title = 'Foo!') %]   # view \"methods\" process blocks or\n[% view.footer %]                   # templates with prefix/suffix added",
    "sections": {
        "NAME": {
            "content": "Template::Plugin::View - Plugin to create views (Template::View)\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "[% USE view(\nprefix = 'splash/'          # template prefix/suffix\nsuffix = '.tt2'\nbgcol  = '#ffffff'          # and any other variables you\nstyle  = 'Fancy HTML'       # care to define as view metadata,\nitems  = [ foo, bar.baz ]   # including complex data and\nfoo    = bar ? baz : x.y.z  # expressions\n%]\n\n[% view.title %]                    # access view metadata\n\n[% view.header(title = 'Foo!') %]   # view \"methods\" process blocks or\n[% view.footer %]                   # templates with prefix/suffix added\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This plugin module creates Template::View objects. Views are an experimental feature and are\nsubject to change in the near future. In the mean time, please consult Template::View for\nfurther info.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Andy Wardley <abw@wardley.org> <http://wardley.org/>\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright (C) 1996-2007 Andy Wardley. All Rights Reserved.\n\nThis module is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Template::Plugin, Template::View, Template::Manual::Views\n",
            "subsections": []
        }
    },
    "summary": "Template::Plugin::View - Plugin to create views (Template::View)",
    "flags": [],
    "examples": [],
    "see_also": []
}