File Coverage

blib/lib/Bricklayer/Templater/Handler/util/tester.pm
Criterion Covered Total %
statement 7 7 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod 0 1 0.0
total 10 11 90.9


line stmt bran cond sub pod time code
1             #-------------------------------------------------------------------------------
2             #
3             # File: tester.pm
4             # Version: 0.1
5             # Author: Jeremy Wall
6             # Definition: This is the handler for plain text blocks in a template.
7             # It basically just returns the text unchanged. I made it a
8             # handler just in case we needed to do something to plain text
9             # later on.
10             #
11             #--------------------------------------------------------------------------
12             package Bricklayer::Templater::Handler::util::tester;
13 1     1   4 use Bricklayer::Templater::Handler;
  1         2  
  1         24  
14 1     1   4 use base qw(Bricklayer::Templater::Handler);
  1         2  
  1         84  
15              
16             sub run {
17            
18 2     2 0 5 return "tester was here :-)";
19             }
20              
21              
22             return 1;