instead of the for loop:
my @temp = (); while (@a) { push @temp, shift @a, shift @b } %result = @temp;
In reply to Re: Combining two lists into a hash
by dynamo
in thread Combining two lists into a hash
by fthiess
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |