App-ScanPrereqs
view release on metacpan or search on metacpan
lib/App/ScanPrereqs.pm view on Meta::CPAN
my %mods;
my %excluded_mods;
require File::Find;
File::Find::find(
sub {
no warnings 'once';
return unless -f;
my $path = "$File::Find::dir/$_";
if (Filename::Backup::check_backup_filename(filename=>$_)) {
log_debug("Skipping backup file %s ...", $path);
return;
}
if (/\A(\.git)\z/) {
log_debug("Skipping %s ...", $path);
return;
}
log_debug("Scanning file %s ...", $path);
my $scanres = $scanner->scan_file($_);
# if we use PP::NotQuiteLite, it returns PPN::Context which supports
( run in 0.524 second using v1.01-cache-2.11-cpan-49f99fa48dc )