File Coverage

blib/lib/Eve/Template.pm
Criterion Covered Total %
statement 39 39 100.0
branch 4 4 100.0
condition n/a
subroutine 11 11 100.0
pod 2 2 100.0
total 56 56 100.0


line stmt bran cond sub pod time code
1             package Eve::Template;
2              
3 1     1   1022 use parent qw(Eve::Class);
  1         3  
  1         8  
4              
5 1     1   1299 use utf8;
  1         12  
  1         32  
6 1     1   39 use strict;
  1         2  
  1         32  
7 1     1   1448 use autodie;
  1         22002  
  1         7  
8 1     1   9632 use warnings;
  1         4  
  1         61  
9 1     1   1425 use open qw(:std :utf8);
  1         1866  
  1         8  
10 1     1   1268 use charnames qw(:full);
  1         57997  
  1         7  
11              
12 1     1   354 use Template;
  1         2  
  1         34  
13 1     1   6 use Template::Stash::XS;
  1         2  
  1         439  
14              
15             =head1 NAME
16              
17             B - a template engine class.
18              
19             =head1 SYNOPSIS
20              
21             my $template = Eve::Template->new(
22             path => '/some/include/path',
23             compile_path => '/some/compile/path',
24             expiration_interval => 60);
25              
26             my $output = $template->process(
27             file => 'helloworld.html',
28             var_hash => $var_hash);
29              
30             =head1 DESCRIPTION
31              
32             B is a template engine adapter class. It adapts well
33             known B