in reply to Re: File::Copy and file manipulation performance
in thread File::Copy and file manipulation performance
I think not, move() first tries a rename, which is an atomic operation (if both files are on the same filesystem, not on NFS etc.) at least on POSIX systems. I was under the impression this was the same on Windows systems? Only if the rename does not succeed does File::Copy::move() attempt a copy and unlink.
|
|---|