blib/lib/Scope/OnExit.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 9 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | n/a | ||
total | 12 | 12 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Scope::OnExit; | ||||||
2 | |||||||
3 | 2 | 2 | 29446 | use strict; | |||
2 | 7 | ||||||
2 | 90 | ||||||
4 | 2 | 2 | 13 | use warnings; | |||
2 | 5 | ||||||
2 | 83 | ||||||
5 | 2 | 2 | 13 | use base qw/Exporter DynaLoader/; | |||
2 | 11 | ||||||
2 | 458 | ||||||
6 | |||||||
7 | our $VERSION = '0.02'; | ||||||
8 | |||||||
9 | bootstrap Scope::OnExit $VERSION; | ||||||
10 | |||||||
11 | ##no critic ProhibitAutomaticExportation | ||||||
12 | our @EXPORT = qw/on_scope_exit/; | ||||||
13 | |||||||
14 | 1; # End of Scope::OnExit | ||||||
15 | |||||||
16 | __END__ |