in reply to Looping backwards through two arrays at once?
hope this helps.#since they're the same length... for(0..$#array1) { print $array1[$#array1 - $_]; print $array2[$#array2 - $_]; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Looping backwards through two arrays at once?
by chester (Hermit) on Nov 04, 2005 at 17:11 UTC |