'x|crosscheck' => \$do_crosscheck,
) or usage;
- @wanted_upstreams = map { $_ eq 'undef' ? undef : $_ } @wanted_upstreams;
-
my @modules;
usage("Cannot mix -a with module list") if $scan_all && @ARGV;
warn "WARNING: duplicate entry for $dist in $module\n";
}
- my $upstream = $m->{UPSTREAM};
+ my $upstream = $m->{UPSTREAM} // 'undef';
next if @$wanted_upstreams and !$wanted_upstream{$upstream};
print $outfh "\n$module - "
my $pdist = $m->{DISTRIBUTION};
die "ERROR: $module has no DISTRIBUTION entry\n" unless defined $pdist;
- my $upstream = $m->{UPSTREAM};
+ my $upstream = $m->{UPSTREAM} // 'undef';
next if @$wanted_upstreams and !$wanted_upstream{$upstream};
my $cdist = $modules{$module};
}
# get the EXCLUDED and MAP entries for this module, or
-# make up defauts if they don't exist
+# make up defaults if they don't exist
sub get_map {
my ( $m, $module_name, $perl_files ) = @_;