Tk-Copy-Mac
view release on metacpan or search on metacpan
sub s_times($$)
{
my ($file_from,$file_to) = @_;
my ($uid,$gid,$atime,$mtime) = (stat $file_from)[4,5,8,9];
utime $atime,$mtime,$file_to
unless ref $file_to eq 'GLOB' || ref $file_to eq 'FileHandle';
# this may only work for men in white hats; on Unix
chown $uid,$gid,$file_to
unless ref $file_to eq 'GLOB' || ref $file_to eq 'FileHandle';
1;
}
# all the actual copying is done here, folks ;)
sub _docopy_file_file($$$)
{
my $this = shift;
my ($file_from,$file_to) = @_;
( run in 1.057 second using v1.01-cache-2.11-cpan-5511b514fd6 )