| 1 | package Carmel::CPANfile; | ||||||||||
| 2 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 1 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | ▶ | use Module::CPANfile; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 1 | ▶ | use Class::Tiny qw( path ); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | 0 | ▶ | sub load { | ||||||||
|
Subroutine
load: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 8 | 0 | my $self = shift; | |||||||||
| 9 | |||||||||||
| 10 | 0 | ▶ | $self->path->exists | ||||||||
|
Branch: 1 branch
| |||||||||||
| 11 | or die "Can't locate 'cpanfile' to load module list.\n"; | ||||||||||
| 12 | |||||||||||
| 13 | 0 | Module::CPANfile->load($self->path); | |||||||||
| 14 | } | ||||||||||
| 15 | |||||||||||
| 16 | 1 | 1; | |||||||||