Dist-Build
view release on metacpan or search on metacpan
lib/Dist/Build/Core.pm view on Meta::CPAN
sub copy {
my ($source, $target, %options) = @_;
make_path(dirname($target));
unlink $target if -f $target;
File::Copy::copy($source, $target) or croak "Could not copy: $!";
my ($atime, $mtime) = (stat $source)[8,9];
utime $atime, $mtime, $target;
chmod 0444 & ~umask, $target;
return;
}
sub manify {
my ($input_file, $output_file, $section) = @_;
require Pod::Man;
Pod::Man->new(section => $section)->parse_from_file($input_file, $output_file);
return;
}
( run in 0.233 second using v1.01-cache-2.11-cpan-8d75d55dd25 )