blib/lib/Error/Tiny.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 14 | 92.8 |
line | true | false | branch |
---|---|---|---|
32 | 2 | 15 | $wantarray ? : |
13 | 4 | unless (eval { do { @ret = $wantarray ? &$try() : scalar &$try(); 1 } }) | |
36 | 9 | 4 | unless (&Scalar::Util::blessed($e)) |
46 | 14 | 1 | if ($handler and $handler->isa('Error::Tiny::Catch')) |
47 | 12 | 2 | if ($e->isa($handler->class)) |
56 | 2 | 2 | $wantarray ? : |
60 | 0 | 14 | @_ == 2 ? : |