line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package I18NFool::ExtractorMerger; |
2
|
1
|
|
|
1
|
|
1015
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
48
|
|
3
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
167
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
sub process |
7
|
|
|
|
|
|
|
{ |
8
|
1
|
|
|
1
|
0
|
11
|
my $class = shift; |
9
|
1
|
|
|
|
|
2
|
my $result = {}; |
10
|
1
|
|
|
|
|
4
|
foreach my $domain_hash (@_) |
11
|
|
|
|
|
|
|
{ |
12
|
2
|
|
|
|
|
4
|
foreach my $domain_key (keys %{$domain_hash}) |
|
2
|
|
|
|
|
6
|
|
13
|
|
|
|
|
|
|
{ |
14
|
6
|
|
|
|
|
10
|
my $domain_lexicon = $domain_hash->{$domain_key}; |
15
|
6
|
|
|
|
|
8
|
foreach my $key ( keys %{$domain_lexicon} ) |
|
6
|
|
|
|
|
15
|
|
16
|
|
|
|
|
|
|
{ |
17
|
6
|
|
|
|
|
10
|
my $po_entry = $domain_lexicon->{$key}; |
18
|
6
|
|
100
|
|
|
25
|
$result->{$domain_key} ||= {}; |
19
|
6
|
|
|
|
|
24
|
$result->{$domain_key}->{$key} = $po_entry; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
1
|
|
|
|
|
4
|
return $result; |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__END__ |