sub naechstes_paeckchen { my $breakpoint = 10; for (1..$breakpoint) { my $line = ; break unless defined $line; ... } }