/usr/local/lib64/perl5.legacy/Template/Plugin
NameSizeModeActions
Assert.pm35040444editdlrm
CGI.pm30870444editdlrm
Datafile.pm42430444editdlrm
Date.pm106980444editdlrm
Directory.pm112200444editdlrm
Dumper.pm35980444editdlrm
File.pm112590444editdlrm
Filter.pm104080444editdlrm
Format.pm18350444editdlrm
HTML.pm60240444editdlrm
Image.pm117300444editdlrm
Iterator.pm20030444editdlrm
Math.pm40630444editdlrm
Pod.pm16520444editdlrm
Procedural.pm36780444editdlrm
Scalar.pm37690444editdlrm
String.pm181670444editdlrm
Table.pm127050444editdlrm
URL.pm58410444editdlrm
View.pm24760444editdlrm
Wrap.pm32710444editdlrm
Edit: /usr/local/lib64/perl5.legacy/Template/Plugin/Iterator.pm (2003B)
#============================================================= -*-Perl-*- # # Template::Plugin::Iterator # # DESCRIPTION # # Plugin to create a Template::Iterator from a list of items and optional # configuration parameters. # # AUTHOR # Andy Wardley # # COPYRIGHT # Copyright (C) 2000-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. # #============================================================================ package Template::Plugin::Iterator; use strict; use warnings; use base 'Template::Plugin'; use Template::Iterator; our $VERSION = 2.68; #------------------------------------------------------------------------ # new($context, \@data, \%args) #------------------------------------------------------------------------ sub new { my $class = shift; my $context = shift; Template::Iterator->new(@_); } 1; __END__ =head1 NAME Template::Plugin::Iterator - Plugin to create iterators (Template::Iterator) =head1 SYNOPSIS [% USE iterator(list, args) %] [% FOREACH item = iterator %] [% '' IF iterator.last %] [% END %] =head1 DESCRIPTION The iterator plugin provides a way to create a L object to iterate over a data set. An iterator is implicitly automatically by the L directive. This plugin allows the iterator to be explicitly created with a given name. =head1 AUTHOR Andy Wardley Eabw@wardley.orgE L =head1 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. =head1 SEE ALSO L, L =cut # Local Variables: # mode: perl # perl-indent-level: 4 # indent-tabs-mode: nil # End: # # vim: expandtab shiftwidth=4: