Bolts/Injector/Parameter/ByPosition.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod 100% 1 / 1 totaltotal 100% 12 / 12 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
pre_inject_value
1.0
CRAP 1.0
« Bolts/Injector/Parameter/ByName.pm ↑ Summary Bolts/Injector/Store/Hash.pm »
1 package Bolts::Injector::Parameter::ByPosition;
2 1 $Bolts::Injector::Parameter::ByPosition::VERSION = '0.143171';
3 # ABSTRACT: Inject parameters by position during construction
4  
5 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 with 'Bolts::Injector';
8  
9  
10 3 ▶sub pre_inject_value {
Subroutine pre_inject_value: called CC=1 SCAR=0.0
Pod documented
11 3 my ($self, $loc, $value, $params) = @_;
12 3 push @{ $params }, $value;
13 }
14  
15 1 __PACKAGE__->meta->make_immutable;
16  
17 __END__
« Bolts/Injector/Parameter/ByName.pm ↑ Summary Bolts/Injector/Store/Hash.pm »