/usr/share/perl5/auto/Inline/mkpath.al is in libinline-perl 0.50-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 1239 "blib/lib/Inline.pm (autosplit into blib/lib/auto/Inline/mkpath.al)"
#==============================================================================
# Utility subroutines
#==============================================================================
#==============================================================================
# Make a path
#==============================================================================
sub mkpath {
use strict;
my ($o, $mkpath) = @_;
my($volume,$dirs,$nofile) = File::Spec->splitpath($mkpath,1);
my @parts = File::Spec->splitdir($dirs);
my @done;
foreach (@parts){
push(@done,$_);
my $path = File::Spec->catpath($volume,File::Spec->catdir(@done),"");
-d $path || _mkdir($path, 0777);
}
croak M53_mkdir_failed($mkpath)
unless -d $mkpath;
}
# end of Inline::mkpath
1;
|