Hello Everybody, what started as small weekend project turn out to be bigger than expected. As I explained in my previous posting, I was trying to retreive data from a web page. i got it finally working by using TokeParser. Now I need to create a two dimentinal array (all integers) with 21 rows and 3 columns. Once I've done that I need to do some math with the contents of the array. I need to create sets of three elements and add those numbers together for each set. I want to try all possible combinations (the order matters). Example: a1+a2+a3, a1+a2+b3, a1+a2+c3.... after all 21 rows are exhausted a1+b2+a3, a1+b2+b3 and so on.... I don't know how to do this with Perl. Does anyone has an idea? Thanks a million in advance.