rename "/foo/bar.txt", "/bar/foo.txt" or die "could not rename $!\n";