blib/lib/ExtUtils/Liblist.pm untested

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