blib/lib/Template/Plugin/Iterator.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 23 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #============================================================= -*-Perl-*-
2 #
3 # Template::Plugin::Iterator
4 #
5 # DESCRIPTION
6 #
7 # Plugin to create a Template::Iterator from a list of items and optional
8 # configuration parameters.
9 #
10 # AUTHOR
11 # Andy Wardley <abw@wardley.org>
12 #
13 # COPYRIGHT
14 # Copyright (C) 2000-2022 Andy Wardley. All Rights Reserved.
15 #
16 # This module is free software; you can redistribute it and/or
17 # modify it under the same terms as Perl itself.
18 #
19 #============================================================================
20  
21 package Template::Plugin::Iterator;
22  
23 use strict;
24 use warnings;
25 use base 'Template::Plugin';
26 use Template::Iterator;
27  
28 our $VERSION = '3.105';
29  
30 #------------------------------------------------------------------------
31 # new($context, \@data, \%args)
32 #------------------------------------------------------------------------
33  
34 sub new {
35 my $class = shift;
36 my $context = shift;
37 Template::Iterator->new(@_);
38 }
39  
40 1;
41  
42 __END__