line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Locale::TextDomain::OO; ## no critic (TidyCode)
|
2
|
|
|
|
|
|
|
|
3
|
34
|
|
|
34
|
|
2281154
|
use strict;
|
|
34
|
|
|
|
|
354
|
|
|
34
|
|
|
|
|
1276
|
|
4
|
34
|
|
|
34
|
|
214
|
use warnings;
|
|
34
|
|
|
|
|
60
|
|
|
34
|
|
|
|
|
1258
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '1.035';
|
7
|
|
|
|
|
|
|
|
8
|
34
|
|
|
34
|
|
13757
|
use Locale::TextDomain::OO::Translator;
|
|
34
|
|
|
|
|
95
|
|
|
34
|
|
|
|
|
4814
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub new {
|
11
|
35
|
|
|
35
|
1
|
21084
|
my ($class, @args) = @_;
|
12
|
|
|
|
|
|
|
|
13
|
35
|
|
|
|
|
267
|
return Locale::TextDomain::OO::Translator->new(
|
14
|
|
|
|
|
|
|
Locale::TextDomain::OO::Translator->load_plugins(@args),
|
15
|
|
|
|
|
|
|
);
|
16
|
|
|
|
|
|
|
}
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub instance {
|
19
|
2
|
|
|
2
|
1
|
1575
|
my ($class, @args) = @_;
|
20
|
|
|
|
|
|
|
|
21
|
2
|
|
|
|
|
401
|
require Locale::TextDomain::OO::Singleton::Translator;
|
22
|
2
|
|
|
|
|
10
|
my $instance = Locale::TextDomain::OO::Singleton::Translator->_has_instance; ## no critic (PrivateSubs)
|
23
|
2
|
100
|
|
|
|
26
|
$instance
|
24
|
|
|
|
|
|
|
and return $instance;
|
25
|
|
|
|
|
|
|
|
26
|
1
|
|
|
|
|
6
|
return Locale::TextDomain::OO::Singleton::Translator->instance(
|
27
|
|
|
|
|
|
|
Locale::TextDomain::OO::Singleton::Translator->load_plugins(@args),
|
28
|
|
|
|
|
|
|
);
|
29
|
|
|
|
|
|
|
}
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1;
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
__END__
|