File Coverage

blib/lib/Locale/RecodeData.pm
Criterion Covered Total %
statement 5 6 83.3
branch n/a
condition n/a
subroutine 2 3 66.6
pod 1 1 100.0
total 8 10 80.0


line stmt bran cond sub pod time code
1             #! /bin/false
2              
3             # vim: set autoindent shiftwidth=4 tabstop=4:
4              
5             # Virtual base class for Locale::Recode converters.
6             # Copyright (C) 2002-2017 Guido Flohr ,
7             # all rights reserved.
8              
9             # This program is free software: you can redistribute it and/or modify
10             # it under the terms of the GNU General Public License as published by
11             # the Free Software Foundation; either version 3 of the License, or
12             # (at your option) any later version.
13              
14             # This program is distributed in the hope that it will be useful,
15             # but WITHOUT ANY WARRANTY; without even the implied warranty of
16             # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17             # GNU General Public License for more details.
18              
19             # You should have received a copy of the GNU General Public License
20             # along with this program. If not, see .
21              
22             package Locale::RecodeData;
23              
24 138     138   1108 use strict;
  138         268  
  138         14215  
25              
26             sub new
27             {
28 549     549 1 2073 my ($class, %args) = @_;
29              
30             bless {
31             _from => $args{from},
32             _to => $args{to},
33 549         2958 }, $class;
34             }
35              
36             sub _getError
37             {
38 0     0     shift->{_error};
39             }
40              
41             1;
42              
43             __END__