in reply to Re^9: Variable number of foreach loops
in thread Variable number of foreach loops

Dude, Not sure what i have repeated again and asked for code...i showed you. Not sure how else you want to represent. The arguments i am passing to print_comb() function can create "variable" number of arrays. So i should be able to pass this variable-arrays to gen_loops(). I cannot have a static call like:
and i want it like...
gen_loops($count, < "$count" number of arrays>)
Not sure if i am able to explain. Anyways i have figured it out in some round-about manner. Thanks for your help.