foreach my $solution ( ... ) { harness "tests for $solution" { foreach my $test ( ... ) { ok( ... ); } } }