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::Iterator

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

NAME

Template::Plugin::Iterator - Plugin to create iterators (Template::Iterator)


SYNOPSIS

    [% USE iterator(list, args) %]

    [% FOREACH item = iterator %]
       [% '<ul>' IF iterator.first %]
       <li>[% item %]
       [% '</ul>' IF iterator.last %]
    [% END %]


DESCRIPTION

The iterator plugin provides a way to create a the Template::Iterator manpage object to iterate over a data set. An iterator is implicitly automatically by the FOREACH directive. This plugin allows the iterator to be explicitly created with a given name.


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::Iterator manpage

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