line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Text::MicroMason::CatchErrors; |
2
|
|
|
|
|
|
|
|
3
|
7
|
|
|
7
|
|
3925
|
use strict; |
|
7
|
|
|
|
|
15
|
|
|
7
|
|
|
|
|
249
|
|
4
|
7
|
|
|
7
|
|
47
|
use Carp; |
|
7
|
|
|
|
|
23
|
|
|
7
|
|
|
|
|
1152
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
###################################################################### |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
# sub defaults { |
9
|
|
|
|
|
|
|
# (shift)->NEXT('assembler_rules'), error_string => 1 |
10
|
|
|
|
|
|
|
# } |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub compile { |
13
|
37
|
|
|
37
|
1
|
723
|
my $result = eval { local $SIG{__DIE__}; (shift)->NEXT('compile', @_) }; |
|
37
|
|
|
|
|
132
|
|
|
37
|
|
|
|
|
124
|
|
14
|
37
|
50
|
|
|
|
5244
|
wantarray ? ($result, $@) : $result; |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub execute { |
18
|
31
|
|
|
31
|
1
|
3649
|
my $result = eval { local $SIG{__DIE__}; (shift)->NEXT('execute', @_) }; |
|
31
|
|
|
|
|
106
|
|
|
31
|
|
|
|
|
127
|
|
19
|
31
|
100
|
|
|
|
1357
|
wantarray ? ($result, $@) : $result; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
###################################################################### |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |