blib/lib/Variable/OnDestruct.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 21 / 21 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Build ↑ Summary
1 package Variable::OnDestruct;
2 1 $Variable::OnDestruct::VERSION = '0.06';
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings FATAL => 'all';
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use Exporter 5.57 'import';
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use XSLoader;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 ##no critic (ProhibitAutomaticExportation)
9 1 our @EXPORT = qw/on_destruct/;
10 1 our @EXPORT_OK = qw/on_destruct_fifo/;
11  
12 1 XSLoader::load('Variable::OnDestruct', __PACKAGE__->VERSION);
13  
14 1 1; # End of Variable::OnDestruct
15  
16 #ABSTRACT: Call a subroutine on destruction of a variable.
17  
18 __END__
« Build ↑ Summary