10 my $no = join('|',qw(DynaLoader GDBM_File ODBM_File NDBM_File DB_File
11 Syslog SysV Langinfo));
20 chdir($dir) || die "Cannot cd to $dir\n";
21 ($ext = getcwd()) =~ s,/,\\,g;
23 chdir($here) || die "Cannot cd to $here\n";
24 my @ext = extensions();
27 sub dynamic_extensions
29 return grep $ext{$_} eq 'dynamic',keys %ext;
34 return grep $ext{$_} eq 'nonxs',keys %ext;
44 if (/^(.*)\.pm$/i || /^(.*)_pm\.PL$/i || /^(.*)\.xs$/i)
47 return if $name =~ $no;
48 my $dir = $File::Find::dir;
50 return if exists $ext{$dir};
51 return unless -f "$ext/$dir/Makefile.PL";
52 if ($dir =~ /$name$/i)
54 if (-f "$ext/$dir/$name.xs")
56 $ext{$dir} = 'dynamic';