makepp
view release on metacpan or search on metacpan
Mpp/BuildCacheControl.pm view on Meta::CPAN
[AGE => 39 + $offset, 17],
["${timetype}DATE", 39 + $offset, 8],
["${timetype}TIME", 48 + $offset, 8],
[MEMBER => -57 - $offset, -1];
}
$sep = "MODE EL ${grtitle}UID BI-UID SIZE ${timetype}D ${timetype}DATE ${timetype}TIME MEMBER\n"
unless $Mpp::verbose;
groupfind {
return if $deletable && ($combined_lstat[EXTLINK] && defined $combined_lstat[BIUID])
or defined $pattern && !/$pattern/;
$_ = defined() ? $user{$_} ||= getpwuid( $_ ) || $_ : '-'
for @combined_lstat[UID, BIUID];
if( defined $sep ) {
print $sep;
undef $sep;
}
my @grinfo;
if( @group > 1 ) { # Count the copies and symlinks.
@grinfo = (0, 0);
for( @lstats ) {
$grinfo[ref() ? 0 : 1]++ if defined;
}
}
if( $Mpp::verbose ) {
showfull \@combined_lstat, $_[1], $time, @grinfo;
if( $Mpp::verbose > 1 ) { # Show each individual member.
for( my $i = 0; $i < @lstats; $i++ ) {
next unless defined $lstats[$i];
my $file = "$_[0][$i]/$_";
if( ref $lstats[$i] ) { # Normal file
$_ = defined() ? $user{$_} ||= getpwuid( $_ ) || $_ : '-'
for @{$lstats[$i]}[UID, BIUID];
showfull $lstats[$i], $file, $time;
} else {
print "$file -> " . readlink( $file ) . "\n";
}
}
$sep = "\n";
}
} else {
my $res;
Mpp/File.pm view on Meta::CPAN
}
$arr->[1]( $finfo ); # Call the wildcard action routine if it matches.
}
substr $fname, 0, 0, $dirinfo->{NAME} . '/';
# Form the relative filename of the next level.
$dirinfo = $dirinfo->{'..'}; # Go up a level.
undef $leaf;
}
}
$ENV{HOME} ||= (Mpp::is_windows > 0 ? $ENV{USERPROFILE} : eval { (getpwuid $>)[7] }) || '.';
# Make sure we notice a symbolic name for the home directory, and switch to absolute name when going above it
undef dereference( file_info "$ENV{HOME}/" )->{'..'}{xABSOLUTE};
1;
__END__
Here is a review of which functions are safe to call as &fn, i.e. reusing your
own stack. This is to make sure that no problem arises if the calling
( run in 0.345 second using v1.01-cache-2.11-cpan-454fe037f31 )