open my $fh, '<', $Ausgabe or die "$Ausgabe: $!"; while( my $line = <$fh> ){ # und jetzt immer $line statt $_ verwenden } close $fh;