File Coverage

blib/lib/App/MultiLanguage.pm
Criterion Covered Total %
statement 9 14 64.2
branch n/a
condition n/a
subroutine 3 5 60.0
pod 0 2 0.0
total 12 21 57.1


line stmt bran cond sub pod time code
1             #
2             # Copyright (c) 2008-2009 Pan Yu (xiaocong@vip.163.com).
3             # All rights reserved.
4             # This program is free software; you can redistribute it and/or
5             # modify it under the same terms as Perl itself.
6             #
7              
8             package App::MultiLanguage;
9              
10 1     1   30587 use 5.006;
  1         3  
  1         28  
11 1     1   5 use strict;
  1         2  
  1         31  
12 1     1   3 use vars qw($VERSION);
  1         6  
  1         132  
13              
14             $VERSION = '0.02';
15              
16              
17             sub language {
18 0     0 0   my $self = shift;
19 0           my $language = shift;
20            
21 0           $self->{language} = $language;
22             }
23              
24             sub parse {
25 0     0 0   my $self = shift;
26            
27 0           return $self->{result};
28             }
29              
30              
31             1;
32              
33             __END__