File Coverage

blib/lib/App/Manoc/View/TT.pm
Criterion Covered Total %
statement 10 12 83.3
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 14 16 87.5


line stmt bran cond sub pod time code
1             package App::Manoc::View::TT;
2              
3 1     1   16190 use strict;
  1         2  
  1         23  
4 1     1   4 use warnings;
  1         2  
  1         33  
5              
6             our $VERSION = '2.99.2'; ##TRIAL VERSION
7              
8 1     1   5 use base 'Catalyst::View::TT';
  1         2  
  1         476  
9              
10 1     1   630739 use App::Manoc;
  0            
  0            
11              
12             __PACKAGE__->config(
13             TEMPLATE_EXTENSION => '.tt',
14             INCLUDE_PATH => [
15             App::Manoc->path_to( 'root', 'src' ),
16             App::Manoc->path_to( 'root', 'src', 'include' ),
17             App::Manoc->path_to( 'root', 'src', 'pages' ),
18             ],
19             PRE_PROCESS => 'init.tt',
20             WRAPPER => 'wrapper.tt',
21             PLUGIN_BASE => 'App::Manoc::View::TT::Plugin',
22             render_die => 1,
23             );
24              
25              
26             1;
27             # Local Variables:
28             # mode: cperl
29             # indent-tabs-mode: nil
30             # cperl-indent-level: 4
31             # cperl-indent-parens-as-block: t
32             # End:
33              
34             __END__
35              
36             =pod
37              
38             =head1 NAME
39              
40             App::Manoc::View::TT
41              
42             =head1 VERSION
43              
44             version 2.99.2
45              
46             =head1 DESCRIPTION
47              
48             This is the Template Toolkit view for Manoc.
49              
50             =head1 NAME
51              
52             App::Manoc::View::TT - TT View for Manoc
53              
54             =head1 SEE ALSO
55              
56             L<App::Manoc>
57              
58             =head1 AUTHORS
59              
60             =over 4
61              
62             =item *
63              
64             Gabriele Mambrini <gmambro@cpan.org>
65              
66             =item *
67              
68             Enrico Liguori
69              
70             =back
71              
72             =head1 COPYRIGHT AND LICENSE
73              
74             This software is copyright (c) 2017 by Gabriele Mambrini.
75              
76             This is free software; you can redistribute it and/or modify it under
77             the same terms as the Perl 5 programming language system itself.
78              
79             =cut