This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
how_to_write_a_perldelta.pod: sections to match skeleton, more detail
[perl5.git] / win32 / distclean.bat
old mode 100755 (executable)
new mode 100644 (file)
index e202eab..18b94b0
@@ -6,14 +6,20 @@ use strict;
 use File::Find;
 use ExtUtils::Manifest qw(maniread);
 my $files = maniread();
+my %files;
+foreach (keys %$files)
+ {
+  $files{lc($_)} = $files->{$_};
+ } 
+
 my @dead;
 find(sub { 
-return if -d $_;
-my $name = $File::Find::name;
-$name =~ s#^\./##;
- unless (exists $files->{$name})
+ return if -d $_;
+ my $name = $File::Find::name;
+ $name =~ s#^\./##;
+ unless (exists $files{lc($name)})
   {
-   print "new $name\n";
+   print "new $name\n";
    push(@dead,$name);
   } 
 },'.');