in reply to Combining two lists into a hash
instead of the for loop:
my @temp = (); while (@a) { push @temp, shift @a, shift @b } %result = @temp;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Combining two lists into a hash
by revdiablo (Prior) on May 03, 2005 at 22:14 UTC |