line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package B::Hooks::EndOfScope; # git description: 0.23-2-ga391106 |
2
|
|
|
|
|
|
|
# ABSTRACT: Execute code after a scope finished compilation |
3
|
|
|
|
|
|
|
# KEYWORDS: code hooks execution scope |
4
|
|
|
|
|
|
|
|
5
|
7
|
|
|
7
|
|
370751
|
use strict; |
|
7
|
|
|
|
|
63
|
|
|
7
|
|
|
|
|
162
|
|
6
|
7
|
|
|
7
|
|
29
|
use warnings; |
|
7
|
|
|
|
|
10
|
|
|
7
|
|
|
|
|
234
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = '0.24'; |
9
|
|
|
|
|
|
|
|
10
|
7
|
|
|
7
|
|
109
|
use 5.006001; |
|
7
|
|
|
|
|
21
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
BEGIN { |
13
|
7
|
|
|
7
|
|
2686
|
use Module::Implementation 0.05; |
|
7
|
|
|
|
|
33049
|
|
|
7
|
|
|
|
|
220
|
|
14
|
7
|
|
|
7
|
|
32
|
Module::Implementation::build_loader_sub( |
15
|
|
|
|
|
|
|
implementations => [ 'XS', 'PP' ], |
16
|
|
|
|
|
|
|
symbols => [ 'on_scope_end' ], |
17
|
|
|
|
|
|
|
)->(); |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
7
|
|
|
|
|
41
|
use Sub::Exporter::Progressive 0.001006 -setup => { |
21
|
|
|
|
|
|
|
exports => [ 'on_scope_end' ], |
22
|
|
|
|
|
|
|
groups => { default => ['on_scope_end'] }, |
23
|
7
|
|
|
7
|
|
652
|
}; |
|
7
|
|
|
|
|
78
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
__END__ |