| 1 | 1 | ▶ | use strict; use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 2 | package Module::Install::ManifestSkip; | ||||||||||
| 3 | 1 | our $VERSION = '0.24'; | |||||||||
| 4 | |||||||||||
| 5 | 1 | ▶ | use base 'Module::Install::Base'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | 1 | our $AUTHOR_ONLY = 1; | |||||||||
| 8 | |||||||||||
| 9 | 1 | my $skip_file = "MANIFEST.SKIP"; | |||||||||
| 10 | |||||||||||
| 11 | 0 | ▶ | sub manifest_skip { | ||||||||
|
Subroutine
manifest_skip: not called CC=4 SCAR=30.0
Pod
undocumented
| |||||||||||
| 12 | 0 | my $self = shift; | |||||||||
| 13 | 0 | ▶ | return unless $self->is_admin; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 14 | |||||||||||
| 15 | 0 | require Module::Manifest::Skip; | |||||||||
| 16 | |||||||||||
| 17 | 0 | print "Writing $skip_file\n"; | |||||||||
| 18 | |||||||||||
| 19 | 0 | ▶ | open OUT, '>', $skip_file | ||||||||
|
Branch: 1 branch
| |||||||||||
| 20 | or die "Can't open $skip_file for output: $!";; | ||||||||||
| 21 | |||||||||||
| 22 | 0 | print OUT Module::Manifest::Skip->new->text; | |||||||||
| 23 | |||||||||||
| 24 | 0 | close OUT; | |||||||||
| 25 | |||||||||||
| 26 | 0 | $self->clean_files('MANIFEST'); | |||||||||
| 27 | 0 | ▶ | $self->clean_files($skip_file) | ||||||||
|
Branch: 1 branch
| |||||||||||
| 28 | if grep /^clean$/, @_; | ||||||||||
| 29 | } | ||||||||||
| 30 | |||||||||||
| 31 | 1 | 1; | |||||||||