How to move a file using Perl?
You can move a file with Perl with the File::Copy module (yes, it also handles "move").
$original_file = 'original-filename.txt';
$new_file = 'new-filename.txt';
# the perl file move function
move($original_file, $new_file) or die "The move operation failed: $!";