line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Locale::TextDomain::OO; ## no critic (TidyCode)
|
2
|
|
|
|
|
|
|
|
3
|
34
|
|
|
34
|
|
2460328
|
use strict;
|
|
34
|
|
|
|
|
486
|
|
|
34
|
|
|
|
|
986
|
|
4
|
34
|
|
|
34
|
|
179
|
use warnings;
|
|
34
|
|
|
|
|
62
|
|
|
34
|
|
|
|
|
1330
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '1.034';
|
7
|
|
|
|
|
|
|
|
8
|
34
|
|
|
34
|
|
15012
|
use Locale::TextDomain::OO::Translator;
|
|
34
|
|
|
|
|
124
|
|
|
34
|
|
|
|
|
5380
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub new {
|
11
|
35
|
|
|
35
|
1
|
9378
|
my ($class, @args) = @_;
|
12
|
|
|
|
|
|
|
|
13
|
35
|
|
|
|
|
316
|
return Locale::TextDomain::OO::Translator->new(
|
14
|
|
|
|
|
|
|
Locale::TextDomain::OO::Translator->load_plugins(@args),
|
15
|
|
|
|
|
|
|
);
|
16
|
|
|
|
|
|
|
}
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub instance {
|
19
|
2
|
|
|
2
|
1
|
1628
|
my ($class, @args) = @_;
|
20
|
|
|
|
|
|
|
|
21
|
2
|
|
|
|
|
579
|
require Locale::TextDomain::OO::Singleton::Translator;
|
22
|
2
|
|
|
|
|
12
|
my $instance = Locale::TextDomain::OO::Singleton::Translator->_has_instance; ## no critic (PrivateSubs)
|
23
|
2
|
100
|
|
|
|
34
|
$instance
|
24
|
|
|
|
|
|
|
and return $instance;
|
25
|
|
|
|
|
|
|
|
26
|
1
|
|
|
|
|
8
|
return Locale::TextDomain::OO::Singleton::Translator->instance(
|
27
|
|
|
|
|
|
|
Locale::TextDomain::OO::Singleton::Translator->load_plugins(@args),
|
28
|
|
|
|
|
|
|
);
|
29
|
|
|
|
|
|
|
}
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1;
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
__END__
|