for my $i (0..10000) { my $url = 'http://dms-schule.bildung.hessen.de/suchen/suche_schul_db.html?show_school='.$i; print "$url\n"; }