line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package Class::MethodCache; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
30794
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
34
|
|
6
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
29
|
|
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
5
|
use vars qw($VERSION @ISA); |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
147
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
BEGIN { |
11
|
1
|
|
|
1
|
|
2
|
$VERSION = '0.05'; |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
|
|
2
|
local $@; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
eval { |
16
|
1
|
|
|
|
|
4
|
require XSLoader; |
17
|
1
|
|
|
|
|
567
|
__PACKAGE__->XSLoader::load($VERSION); |
18
|
1
|
|
|
|
|
72
|
1; |
19
|
1
|
50
|
|
|
|
2
|
} or do { |
20
|
0
|
|
|
|
|
0
|
warn $@; |
21
|
0
|
|
|
|
|
0
|
require DynaLoader; |
22
|
0
|
|
|
|
|
0
|
push @ISA, 'DynaLoader'; |
23
|
0
|
|
|
|
|
0
|
__PACKAGE__->bootstrap($VERSION); |
24
|
|
|
|
|
|
|
}; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
1
|
|
|
|
|
12
|
use Sub::Exporter -setup => { |
29
|
|
|
|
|
|
|
exports => [qw( |
30
|
|
|
|
|
|
|
get_gv_refcount |
31
|
|
|
|
|
|
|
set_cvgen |
32
|
|
|
|
|
|
|
get_cvgen |
33
|
|
|
|
|
|
|
set_cv |
34
|
|
|
|
|
|
|
get_cv |
35
|
|
|
|
|
|
|
get_class_gen |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
delete_cv |
38
|
|
|
|
|
|
|
update_cvgen |
39
|
|
|
|
|
|
|
set_cached_method |
40
|
|
|
|
|
|
|
get_cached_method |
41
|
|
|
|
|
|
|
)], |
42
|
|
|
|
|
|
|
groups => { |
43
|
|
|
|
|
|
|
default => [qw( |
44
|
|
|
|
|
|
|
update_cvgen |
45
|
|
|
|
|
|
|
set_cached_method |
46
|
|
|
|
|
|
|
get_cached_method |
47
|
|
|
|
|
|
|
)], |
48
|
|
|
|
|
|
|
}, |
49
|
1
|
|
|
1
|
|
930
|
}; |
|
1
|
|
|
|
|
12580
|
|
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
__PACKAGE__ |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
__END__ |