7 my $no = join('|',qw(DynaLoader GDBM_File ODBM_File NDBM_File DB_File Syslog Sysv));
16 chdir($dir) || die "Cannot cd to $dir\n";
17 ($ext = getcwd()) =~ s,/,\\,g;
19 chdir($here) || die "Cannot cd to $here\n";
20 my @ext = extensions();
23 sub dynamic_extensions
25 return grep $ext{$_} eq 'dynamic',keys %ext;
30 return grep $ext{$_} eq 'nonxs',keys %ext;
40 if (/^(.*)\.pm$/i || /^(.*)_pm\.PL$/i || /^(.*)\.xs$/i)
43 return if $name =~ $no;
44 my $dir = $File::Find::dir;
46 return if exists $ext{$dir};
47 return unless -f "$ext/$dir/Makefile.PL";
48 if ($dir =~ /$name$/i)
50 if (-f "$ext/$dir/$name.xs")
52 $ext{$dir} = 'dynamic';