So actually the bigger picture is that you want to be able to run two sets of tests where the second set comprises combinations of the tests in the first set. A little back story that leaked through was that you had trouble implementing your first try and rather than seeking help resolving those (fundamental programming related) issues you have worked around them and been bitten by essentially the same issues in a different guise.
If you would like some real help with this problem I strongly suggest you should show us the nature of the tests you wish to perform. Testing of various sorts is something that is done often in Perl encouraged by CPAN. There is a lot of support for writing tests suites in Perl.
True laziness is hard work
|