http://qs321.pair.com?node_id=1101585

arty32l has asked for the wisdom of the Perl Monks concerning the following question:

I am looking to create a loop where the following data is printed n number of times. So given:"

n = 9; @a = (1, 2 ,3); @b = (a, b, c);
$a[0] = 1 $b[0] = a $a[0] = 1 $b[1] = b $a[1] = 2 $b[2] = c $a[1] = 2 $b[0] = a $a[2] = 3 $b[1] = b $a[2] = 3 $b[2] = c $a[0] = 1 $b[0] = a $a[0] = 1 $b[1] = b $a[1] = 2 $b[2] = c