C
Christopher Benson-Manica
I'm trying to use File::NCopy::copy to preserve the modification time
of a file, but I can't seem to get it to work. I've got, basically,
use File::NCopy qw(copy);
$fobj=File::NCopy->new(
'force_write' => 1,
'preserve' => 1,
);
$fobj->copy( "file1", "file2" );
file2, however, is not keeping file1's modification time. I'm using
ActiveState Perl version 5.8.7 on WinXP. Do I need to change
'set_times'? Is there some other WinDoze quirk I need to be aware of
to get this to work?
of a file, but I can't seem to get it to work. I've got, basically,
use File::NCopy qw(copy);
$fobj=File::NCopy->new(
'force_write' => 1,
'preserve' => 1,
);
$fobj->copy( "file1", "file2" );
file2, however, is not keeping file1's modification time. I'm using
ActiveState Perl version 5.8.7 on WinXP. Do I need to change
'set_times'? Is there some other WinDoze quirk I need to be aware of
to get this to work?