File Coverage

blib/lib/ACME/Error/HTML.pm
Criterion Covered Total %
statement 12 13 92.3
branch n/a
condition n/a
subroutine 4 5 80.0
pod n/a
total 16 18 88.8


line stmt bran cond sub pod time code
1             package ACME::Error::HTML;
2              
3 1     1   735 use strict;
  1         2  
  1         36  
4 1     1   5 no strict 'refs';
  1         2  
  1         49  
5              
6 1     1   5 use vars q[$VERSION];
  1         5  
  1         76  
7             $VERSION = '0.01';
8              
9 1     1   912 use HTML::FromText;
  1         16549  
  1         125  
10              
11             *die_handler = *warn_handler = sub {
12 0     0     return text2html "@_",
13             paras => 1,
14             bold => 1,
15             metachars => 0,
16             urls => 1,
17             email => 1,
18             underline => 1,
19             blockparas => 1,
20             numbers => 1,
21             bullets => 1;
22             };
23              
24             1;
25             __END__