« blib/lib/ExtUtils/Builder/FileSet/Filter.pm
↑ Summary
blib/lib/ExtUtils/Builder/Action/Composite.pm »
| 1 | package ExtUtils::Builder::Action::Perl; | ||||||||||
| 2 | 12 | $ExtUtils::Builder::Action::Perl::VERSION = '0.020'; | |||||||||
| 3 | 12 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 12 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 12 | ▶ | use parent 'ExtUtils::Builder::Action::Primitive'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | 7 | ▶ | sub _preference_map { | ||||||||
|
Subroutine
_preference_map: called CC=1 SCAR=0.0
| |||||||||||
| 9 | return { | ||||||||||
| 10 | 7 | execute => 3, | |||||||||
| 11 | code => 2, | ||||||||||
| 12 | command => 1, | ||||||||||
| 13 | flatten => 0, | ||||||||||
| 14 | }; | ||||||||||
| 15 | } | ||||||||||
| 16 | |||||||||||
| 17 | 0 | ▶ | sub message { | ||||||||
|
Subroutine
message: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 18 | 0 | my $self = shift; | |||||||||
| 19 | 0 | return $self->{message}; | |||||||||
| 20 | } | ||||||||||
| 21 | |||||||||||
| 22 | 3 | ▶ | sub to_code_hash { | ||||||||
|
Subroutine
to_code_hash: called CC=2 SCAR=7.0
Pod
documented
| |||||||||||
| 23 | 3 | my ($self, %opts) = @_; | |||||||||
| 24 | 3 | my %result = ( | |||||||||
| 25 | modules => [ $self->modules ], | ||||||||||
| 26 | code => $self->to_code(skip_loading => 1, %opts), | ||||||||||
| 27 | ); | ||||||||||
| 28 | 3 | ▶ | $result{message} = $self->{message} if defined $self->{message}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 29 | 3 | return \%result; | |||||||||
| 30 | } | ||||||||||
| 31 | |||||||||||
| 32 | 12 | 1; | |||||||||
| 33 | |||||||||||
| 34 | # ABSTRACT: A base-role for Code actions | ||||||||||
| 35 | |||||||||||
| 36 | __END__ | ||||||||||