| 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__ | ||