line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Text::MicroMason::CatchErrors; |
2
|
|
|
|
|
|
|
|
3
|
7
|
|
|
7
|
|
3752
|
use strict; |
|
7
|
|
|
|
|
16
|
|
|
7
|
|
|
|
|
207
|
|
4
|
7
|
|
|
7
|
|
50
|
use Carp; |
|
7
|
|
|
|
|
67
|
|
|
7
|
|
|
|
|
1192
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
###################################################################### |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
# sub defaults { |
9
|
|
|
|
|
|
|
# (shift)->NEXT('assembler_rules'), error_string => 1 |
10
|
|
|
|
|
|
|
# } |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub compile { |
13
|
37
|
|
|
37
|
1
|
529
|
my $result = eval { local $SIG{__DIE__}; (shift)->NEXT('compile', @_) }; |
|
37
|
|
|
|
|
145
|
|
|
37
|
|
|
|
|
130
|
|
14
|
37
|
50
|
|
|
|
4570
|
wantarray ? ($result, $@) : $result; |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub execute { |
18
|
31
|
|
|
31
|
1
|
3273
|
my $result = eval { local $SIG{__DIE__}; (shift)->NEXT('execute', @_) }; |
|
31
|
|
|
|
|
124
|
|
|
31
|
|
|
|
|
135
|
|
19
|
31
|
100
|
|
|
|
1371
|
wantarray ? ($result, $@) : $result; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
###################################################################### |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |