%hash1 = (..... (key value pair) .... ....); %hash2 = (.... ..... .....); while(......) #iterate both hashes at once { #process something..... }