File Coverage

blib/lib/Scope/OnExit.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package Scope::OnExit;
2             $Scope::OnExit::VERSION = '0.03';
3 1     1   441 use strict;
  1         2  
  1         28  
4 1     1   5 use warnings;
  1         2  
  1         30  
5 1     1   5 use Exporter 5.57 'import';
  1         17  
  1         27  
6 1     1   5 use XSLoader;
  1         1  
  1         58  
7              
8             XSLoader::load(__PACKAGE__, __PACKAGE__->VERSION);
9              
10             ##no critic ProhibitAutomaticExportation
11             our @EXPORT = qw/on_scope_exit/;
12              
13             1; # End of Scope::OnExit
14              
15             #ABSTRACT: DEPRECATED Running code on scope exit
16              
17             __END__