my @cloned_balls;
Then a line inside your loop to put the balls in the array. For example, using push():
push(@cloned_balls, $relement);
Now you should be able bind them using the array of balls:
$zinc->bind($cloned_balls[0], '<1>', \&ro6b);
-sam
In reply to Re: for loops
by samtregar
in thread for loops
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |