in reply to 2D array ALL combinations

Why? There may be a better way of solving your larger problem. This sounds like a very expensive solution!


DWIM is Perl's answer to Gödel