summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/regen/lib_cleanup.pl
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/perl/regen/lib_cleanup.pl')
-rw-r--r--gnu/usr.bin/perl/regen/lib_cleanup.pl6
1 files changed, 0 insertions, 6 deletions
diff --git a/gnu/usr.bin/perl/regen/lib_cleanup.pl b/gnu/usr.bin/perl/regen/lib_cleanup.pl
index d43b4b222f8..c9d6e434bd4 100644
--- a/gnu/usr.bin/perl/regen/lib_cleanup.pl
+++ b/gnu/usr.bin/perl/regen/lib_cleanup.pl
@@ -74,12 +74,6 @@ foreach my $file (@ext) {
$package = $1;
last;
}
- elsif (/^\s*package\s*$/) {
- # If they're hiding their package name, we ignore them
- ++$ignore{"/$path"};
- $package='';
- last;
- }
}
close $fh
or die "Can't close $file: $!";