line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Class::LazyLoad::Functions; |
2
|
|
|
|
|
|
|
|
3
|
6
|
|
|
6
|
|
158963
|
use Class::LazyLoad; |
|
6
|
|
|
|
|
19
|
|
|
6
|
|
|
|
|
32
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
{ |
6
|
|
|
|
|
|
|
my %is_exportable = map { $_ => undef } qw( |
7
|
|
|
|
|
|
|
lazyload |
8
|
|
|
|
|
|
|
unlazyload |
9
|
|
|
|
|
|
|
lazyload_one |
10
|
|
|
|
|
|
|
init_lazyloads |
11
|
|
|
|
|
|
|
); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub import |
14
|
|
|
|
|
|
|
{ |
15
|
6
|
|
|
6
|
|
65
|
shift; |
16
|
6
|
|
|
|
|
19
|
my $pkg = (caller)[0]; |
17
|
|
|
|
|
|
|
|
18
|
6
|
|
|
|
|
28
|
foreach (grep exists $is_exportable{$_}, @_) |
19
|
|
|
|
|
|
|
{ |
20
|
10
|
|
|
|
|
102
|
local $^W = 0; |
21
|
10
|
|
|
|
|
16
|
*{ $pkg . "::" . $_ } = \&{ 'Class::LazyLoad::' . $_ }; |
|
10
|
|
|
|
|
118
|
|
|
10
|
|
|
|
|
31
|
|
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__END__ |