$counter_lat=roundup(($config{elat} - $config{slat}) / $config{ilat}); for (my $i = 0; $i <= $counter_lat; $config{ilat}++){ print "$i. Durchgang - " }