in reply to Round robin tournament problem

Others have pointed out that this is more an algorithm thing rather than a perl thing.
A Google search on "Round Robin Tournament" turned up a couple of interesting links including: with an overview (including graphics) and with a discussion on a cyclic algorithm for generating the tables.