use File::Copy; move('/old/path', '/new/path') or die "Can't move: $!";