# random songs
while (s/<td \s* class=dtdm> (\d+) <\/td>//x) {
printf "INSERT INTO scores (tournament, round, parallel, player, songnumber, song, chosen, score) VALUES (\n";
# random songs
while (s/<td \s* class=dtdm> (\d+) <\/td>//x) {
printf "INSERT INTO scores (tournament, round, parallel, player, songnumber, song, chosen, score) VALUES (\n";