blib/lib/me/inlined.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary
1 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 package me::inlined; # git description: v0.003-17-gfc99405
4 # vim: set ts=8 sts=4 sw=4 tw=115 et :
5 # ABSTRACT: EXPERIMENTAL - define multiple packages in one file, and reference them in any order
6 # KEYWORDS: development module package file inline declaration
7  
8 2 our $VERSION = '0.004';
9  
10 2 ▶use Module::Runtime ();
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 sub import
13 2 ▶{
Subroutine import: called CC=1 SCAR=0.0
14 2 my $self = shift;
15 2 my ($caller, $caller_file) = caller;
16 2 my $filename = Module::Runtime::module_notional_filename($caller);
17 2 $::INC{$filename} = $caller_file;
18 }
19  
20 2 1;
21  
22 __END__
↑ Summary