/usr/share/perl5/auto/Inline/clean_build.al is in libinline-perl 0.49-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | # NOTE: Derived from blib/lib/Inline.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package Inline;
#line 1083 "blib/lib/Inline.pm (autosplit into blib/lib/auto/Inline/clean_build.al)"
#==============================================================================
# Clean the build directory from previous builds
#==============================================================================
sub clean_build {
use strict;
my ($prefix, $dir);
my $o = shift;
$prefix = $o->{INLINE}{DIRECTORY};
opendir(BUILD, $prefix)
or croak "Can't open build directory: $prefix for cleanup $!\n";
while ($dir = readdir(BUILD)) {
my $maybedir = File::Spec->catdir($prefix,$dir);
if (($maybedir and -d $maybedir) and ($dir =~ /\w{36,}/)) {
$o->rmpath($prefix,$dir);
}
}
close BUILD;
}
# end of Inline::clean_build
1;
|