| 1 | package Text::MicroMason::CatchErrors; | ||||||||||
| 2 | |||||||||||
| 3 | 7 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 7 | ▶ | use Carp; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | ###################################################################### | ||||||||||
| 7 | |||||||||||
| 8 | # sub defaults { | ||||||||||
| 9 | # (shift)->NEXT('assembler_rules'), error_string => 1 | ||||||||||
| 10 | # } | ||||||||||
| 11 | |||||||||||
| 12 | 37 | ▶ | sub compile { | ||||||||
|
Subroutine
compile: called CC=2 SCAR=7.0
Pod
documented
| |||||||||||
| 13 | 37 | my $result = eval { local $SIG{__DIE__}; (shift)->NEXT('compile', @_) }; | |||||||||
| 14 | 37 | ▶ | wantarray ? ($result, $@) : $result; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 15 | } | ||||||||||
| 16 | |||||||||||
| 17 | 31 | ▶ | sub execute { | ||||||||
|
Subroutine
execute: called CC=2 SCAR=6.9
Pod
documented
| |||||||||||
| 18 | 31 | my $result = eval { local $SIG{__DIE__}; (shift)->NEXT('execute', @_) }; | |||||||||
| 19 | 31 | ▶ | wantarray ? ($result, $@) : $result; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 20 | } | ||||||||||
| 21 | |||||||||||
| 22 | ###################################################################### | ||||||||||
| 23 | |||||||||||
| 24 | 7 | 1; | |||||||||
| 25 | |||||||||||
| 26 | __END__ | ||||||||||