my @inhalt; # [...] while (<$FH>){ push (@inhalt, $_); } close $FH; chomp @inhalt;