Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Template::Plugin::View

Name Template::Plugin::View
Version 2.68
Located at /usr/lib64/perl5/vendor_perl
File /usr/lib64/perl5/vendor_perl/Template/Plugin/View.pm
Is Core No
Search CPAN for this module Template::Plugin::View
Documentation Template::Plugin::View
Module Details Template::Plugin::View

NAME

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


SYNOPSIS

    [% 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


DESCRIPTION

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


AUTHOR

Andy Wardley <abw@wardley.org> http://wardley.org/


COPYRIGHT

Copyright (C) 1996-2007 Andy Wardley. All Rights Reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


SEE ALSO

the Template::Plugin manpage, the Template::View manpage, the Template::Manual::Views manpage

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024