blib/lib/Variable/OnDestruct.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 20 / 20 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.05';
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  
11 1 XSLoader::load('Variable::OnDestruct', __PACKAGE__->VERSION);
12  
13 1 1; # End of Variable::OnDestruct
14  
15 #ABSTRACT: Call a subroutine on destruction of a variable.
16  
17 __END__
« Build ↑ Summary