blib/lib/Template/Iterator/XS.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« XS.xs ↑ Summary
1 package Template::Iterator::XS;
2
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5
6 2 require DynaLoader;
7 2 require Template::Iterator;
8 2 require Template::Constants;
9
10 2 our $VERSION = 0.01;
11 2 our @ISA = qw( Template::Iterator DynaLoader );
12
13 2 bootstrap Template::Iterator::XS $VERSION;
14
15 2 _init( Template::Constants::STATUS_DONE() );
16
17 2 1;
18
19 =pod
20
21 =head1 NAME
22
23 Template::Iterator::XS - speedup TT2's Iterator
24
25 =head1 DESCRIPTION
26
27 The module is intended to function as a drop-in replacement for TT's native
28 Template::Iterator, for speedup. There is an existing mechanism for a similar
29 module, Template::Stash::XS which does the same, and can be selected during
30 configuration. The hope for this module is to function exacly in the same fashion.
31
32 =head1 USAGE
33
34 use Template;
35 use Template::Iterator::XS;
36 $Template::Config::ITERATOR = 'Template::Iterator::XS';
37
38 =head1 AUTHOR
39
40 Dmitry Karasik <dmitry@karasik.eu.org>
41
42 =head1 LICENCE
43
44 This library is free software; you can redistribute it and/or modify it
45 under the same terms as Perl itself.
46
47 The work is sponsored by reg.ru .
48
49 =cut
« XS.xs ↑ Summary