I would generally recommend the usage of the
move method of
File::Copy over that of the internal
perlfunc:rename function. This is due to the limitations of the internal
perlfunc:rename function with regard to copying across file systems and other platform specific anomalies such as the handling of open files - This is documented in both the
perlfunc:rename and
perlport man page.