lib/ExtUtils/Liblist.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 2 totaltotal 91.3% 21 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
ext
1.0
CRAP 1.0
« lib/ExtUtils/MY.pm ↑ Summary lib/ExtUtils/MakeMaker/Config.pm »
1 package ExtUtils::Liblist;
2  
3 51 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 51 our $VERSION = '7.13_01';
6 51 $VERSION = eval $VERSION;
7  
8 51 ▶use File::Spec;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 51 require ExtUtils::Liblist::Kid;
10 51 our @ISA = qw(ExtUtils::Liblist::Kid File::Spec);
11  
12 # Backwards compatibility with old interface.
13 sub ext {
14 120 ▶ goto &ExtUtils::Liblist::Kid::ext;
Subroutine ext: called CC=1 SCAR=0.0
Pod undocumented
15 }
16  
17 sub lsdir {
18 8 ▶ shift;
Subroutine lsdir: called CC=1 SCAR=0.0
Pod undocumented
19 8 my $rex = qr/$_[1]/;
20 8 opendir my $dir_fh, $_[0];
21 8 my @out = grep /$rex/, readdir $dir_fh;
22 8 closedir $dir_fh;
23 8 return @out;
24 }
25  
26 __END__
« lib/ExtUtils/MY.pm ↑ Summary lib/ExtUtils/MakeMaker/Config.pm »