Subject: | fmove() really copies the file, why not do a move()? |
Hello, is there any reason why fmove() uses File::Copy::copy instead of
File::Copy::move, which will fallback to copy() if necessary?
[sshaw@localhost trunk]$ ls -i Y
129044042 Y
[sshaw@localhost trunk]$ perl -MFile::Copy::Recursive=fmove -e'fmove
shift, shift or die $!' Y Z
[sshaw@localhost trunk]$ ls -i Z
129043037 Z
Maybe it's to avoid the platform specific behavior of rename()..
Nevertheless it would be nice if fmove() actually move()ed the file.