$old = "upload/" . $file; $new = "upload/test.jpg"; rename $old, $new or die "Can't rename '$old' to '$new': $!"; # hier ist zeile 92