diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-10-14 15:30:47 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-10-14 15:47:29 +0100 |
commit | fae1af826feacb5c14cf7998f1f9686fc043fa05 (patch) | |
tree | 75d400e0debe7ad7219f71bcf27f360f8834fb06 /Porting/Maintainers.pm | |
parent | bd774df311de60ae39cf76756d15eebd55217e88 (diff) | |
download | perl-fae1af826feacb5c14cf7998f1f9686fc043fa05.tar.gz |
Remove the code for file exclusions from Maintainers.pm - nothing needs it now.
Diffstat (limited to 'Porting/Maintainers.pm')
-rw-r--r-- | Porting/Maintainers.pm | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/Porting/Maintainers.pm b/Porting/Maintainers.pm index 187e38b68e..51c847f4af 100644 --- a/Porting/Maintainers.pm +++ b/Porting/Maintainers.pm @@ -89,17 +89,7 @@ sub expand_glob { sub get_module_files { my $m = shift; - my %exclude; - my @files; - for (get_module_pat($m)) { - if (s/^!//) { - $exclude{$_}=1 for expand_glob($_); - } - else { - push @files, expand_glob($_); - } - } - return grep !$exclude{$_}, @files; + return map { expand_glob($_) } get_module_pat($m); } |