summaryrefslogtreecommitdiff
path: root/win32/FindExt.pm
diff options
context:
space:
mode:
Diffstat (limited to 'win32/FindExt.pm')
-rw-r--r--win32/FindExt.pm9
1 files changed, 2 insertions, 7 deletions
diff --git a/win32/FindExt.pm b/win32/FindExt.pm
index 41065d244d..ea9e5571e9 100644
--- a/win32/FindExt.pm
+++ b/win32/FindExt.pm
@@ -84,15 +84,10 @@ sub _ext_eq {
*static_ext = _ext_eq('static');
*nonxs_ext = _ext_eq('nonxs');
-sub _ext_ne {
- my $key = shift;
- sub {
- sort grep $ext{$_} ne $key, keys %ext;
- }
+sub extensions {
+ sort grep $ext{$_} ne 'known', keys %ext;
}
-*extensions = _ext_ne('known');
-
sub known_extensions {
sort keys %ext;
}