sub einlesen{ open(FILE, $file) || die "Can't open the file $file: $!"; foreach my $line (){ $textfield->insert('end', $line."\n"); } close FILE; }