$name = "$dir/$name" if $dir ne '';
- # ignore Chip-style patch backups.
- return if grep(/^P\d+$/, split(m{/+}, $name));
-
my $installlib = $installprivlib;
if ($dir =~ /^auto/ ||
($name =~ /^(.*)\.(?:pm|pod)$/ && $archpms{$1})) {
opendir DIR, $source_dir_or_file or next;
for (readdir DIR) {
next if $_ eq "." || $_ eq ".." || $_ eq ".exists";
- next if /^P\d+$/ && -d "$source_dir_or_file/$_"; # no Chip bk's
if (-w $hash{$source_dir_or_file} || mkpath($hash{$source_dir_or_file})) {
last;
} else {
$atime,$mtime,$ctime,$blksize,$blocks) = stat;
return unless -f _;
return if $_ eq ".exists";
- return if /\bP\d+\b/; # no Chip-style backups
my $targetdir = $MY->catdir($hash{$source},$File::Find::dir);
my $targetfile = $MY->catfile($targetdir,$_);