open(FH, "ZIEL.txt") or die "geht nicht?!"; while() { printf OUTDATEN $_; } close (OUTDATEN); close (FH);