blib/lib/Try/Tiny/NoDie.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 0.0% 0 / 1 totaltotal 96.1% 25 / 26 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary
1 package Try::Tiny::NoDie;
2 1 ▶use 5.008_005;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 1 our $VERSION = '0.01';
5  
6 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 ▶use Try::Tiny;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 ▶use Exporter 5.57 'import';
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 our @EXPORT = our @EXPORT_OK = qw(try_no_die try catch finally);
13  
14 1 ▶sub try_no_die (&;@) {
Subroutine try_no_die: called CC=1 SCAR=0.0
Pod undocumented
15 1 local $SIG{__DIE__} = "IGNORE";
16 1 &Try::Tiny::try;
17 }
18  
19 1 1;
20 __END__
↑ Summary